projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove unused BitVectors from getAllocatableSet().
[oota-llvm.git]
/
lib
/
CodeGen
/
CriticalAntiDepBreaker.cpp
diff --git
a/lib/CodeGen/CriticalAntiDepBreaker.cpp
b/lib/CodeGen/CriticalAntiDepBreaker.cpp
index 9cec59030a0bf60dda23a91d12bf9b0f254c92c1..377b4712beac821d0c2114a515efcc5f4167687f 100644
(file)
--- a/
lib/CodeGen/CriticalAntiDepBreaker.cpp
+++ b/
lib/CodeGen/CriticalAntiDepBreaker.cpp
@@
-228,7
+228,7
@@
void CriticalAntiDepBreaker::PrescanInstruction(MachineInstr *MI) {
void CriticalAntiDepBreaker::ScanInstruction(MachineInstr *MI,
unsigned Count) {
// Update liveness.
void CriticalAntiDepBreaker::ScanInstruction(MachineInstr *MI,
unsigned Count) {
// Update liveness.
- // Proceding upwards, registers that are defed but not used in this
+ // Proce
e
ding upwards, registers that are defed but not used in this
// instruction are now dead.
if (!TII->isPredicated(MI)) {
// instruction are now dead.
if (!TII->isPredicated(MI)) {
@@
-527,7
+527,7
@@
BreakAntiDependencies(const std::vector<SUnit>& SUnits,
if (Edge->getKind() == SDep::Anti) {
AntiDepReg = Edge->getReg();
assert(AntiDepReg != 0 && "Anti-dependence on reg0?");
if (Edge->getKind() == SDep::Anti) {
AntiDepReg = Edge->getReg();
assert(AntiDepReg != 0 && "Anti-dependence on reg0?");
- if (!
RegClassInfo
.isAllocatable(AntiDepReg))
+ if (!
MRI
.isAllocatable(AntiDepReg))
// Don't break anti-dependencies on non-allocatable registers.
AntiDepReg = 0;
else if (KeepRegs.test(AntiDepReg))
// Don't break anti-dependencies on non-allocatable registers.
AntiDepReg = 0;
else if (KeepRegs.test(AntiDepReg))