projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix MO's analyzePhysReg, it was confusing sub- and super-registers. Problem pointed...
[oota-llvm.git]
/
lib
/
CodeGen
/
MachineInstrBundle.cpp
diff --git
a/lib/CodeGen/MachineInstrBundle.cpp
b/lib/CodeGen/MachineInstrBundle.cpp
index cd820ee1ac526f2efff9c62f800c3839f9592f41..f6e45a4b7c7db4550a0f50388aae322440e9fde3 100644
(file)
--- a/
lib/CodeGen/MachineInstrBundle.cpp
+++ b/
lib/CodeGen/MachineInstrBundle.cpp
@@
-310,7
+310,7
@@
MachineOperandIteratorBase::analyzePhysReg(unsigned Reg,
if (!MOReg || !TargetRegisterInfo::isPhysicalRegister(MOReg))
continue;
if (!MOReg || !TargetRegisterInfo::isPhysicalRegister(MOReg))
continue;
- bool IsRegOrSuperReg = MOReg == Reg || TRI->isSu
b
Register(MOReg, Reg);
+ bool IsRegOrSuperReg = MOReg == Reg || TRI->isSu
per
Register(MOReg, Reg);
bool IsRegOrOverlapping = MOReg == Reg || TRI->regsOverlap(MOReg, Reg);
if (IsRegOrSuperReg && MO.readsReg()) {
bool IsRegOrOverlapping = MOReg == Reg || TRI->regsOverlap(MOReg, Reg);
if (IsRegOrSuperReg && MO.readsReg()) {