projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
DebugInfo: Correct comment & re-format a nearby loop
[oota-llvm.git]
/
lib
/
CodeGen
/
AggressiveAntiDepBreaker.cpp
diff --git
a/lib/CodeGen/AggressiveAntiDepBreaker.cpp
b/lib/CodeGen/AggressiveAntiDepBreaker.cpp
index c50f8b5a42ad9e02a5e56586cc6e67568f91d816..e0797079c5eb1b51bbbba9034c94da4619cdb2a7 100644
(file)
--- a/
lib/CodeGen/AggressiveAntiDepBreaker.cpp
+++ b/
lib/CodeGen/AggressiveAntiDepBreaker.cpp
@@
-247,8
+247,8
@@
void AggressiveAntiDepBreaker::GetPassthruRegs(MachineInstr *MI,
if ((MO.isDef() && MI->isRegTiedToUseOperand(i)) ||
IsImplicitDefUse(MI, MO)) {
const unsigned Reg = MO.getReg();
if ((MO.isDef() && MI->isRegTiedToUseOperand(i)) ||
IsImplicitDefUse(MI, MO)) {
const unsigned Reg = MO.getReg();
-
PassthruRegs.insert(Reg
);
-
for (MCSubRegIterator SubRegs(Reg, TRI);
SubRegs.isValid(); ++SubRegs)
+
for (MCSubRegIterator SubRegs(Reg, TRI, /*IncludeSelf=*/true
);
+
SubRegs.isValid(); ++SubRegs)
PassthruRegs.insert(*SubRegs);
}
}
PassthruRegs.insert(*SubRegs);
}
}