projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove the bitwise XOR operator from the Attributes class. Replace it with the equiva...
[oota-llvm.git]
/
lib
/
CodeGen
/
LiveRangeEdit.cpp
diff --git
a/lib/CodeGen/LiveRangeEdit.cpp
b/lib/CodeGen/LiveRangeEdit.cpp
index b4ce9aa8c12cc45a0b69550b83f6d0275d40ff62..82710414b30598ecb483085e4b8c000a3c0a9fb2 100644
(file)
--- a/
lib/CodeGen/LiveRangeEdit.cpp
+++ b/
lib/CodeGen/LiveRangeEdit.cpp
@@
-87,7
+87,7
@@
bool LiveRangeEdit::allUsesAvailableAt(const MachineInstr *OrigMI,
// We can't remat physreg uses, unless it is a constant.
if (TargetRegisterInfo::isPhysicalRegister(MO.getReg())) {
// We can't remat physreg uses, unless it is a constant.
if (TargetRegisterInfo::isPhysicalRegister(MO.getReg())) {
- if (MRI.isConstantPhysReg(MO.getReg(),
VRM->getMachineFunction
()))
+ if (MRI.isConstantPhysReg(MO.getReg(),
*OrigMI->getParent()->getParent
()))
continue;
return false;
}
continue;
return false;
}