projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
X86: Turn redundant if into an assertion.
[oota-llvm.git]
/
lib
/
Target
/
X86
/
X86FloatingPoint.cpp
diff --git
a/lib/Target/X86/X86FloatingPoint.cpp
b/lib/Target/X86/X86FloatingPoint.cpp
index 6883fc0149341410c5c0c3b9a3384126fe832d9e..d3e8facbf15858aa61393d6413f88cd65146c10e 100644
(file)
--- a/
lib/Target/X86/X86FloatingPoint.cpp
+++ b/
lib/Target/X86/X86FloatingPoint.cpp
@@
-1654,6
+1654,9
@@
void FPS::setKillFlags(MachineBasicBlock &MBB) const {
for (MachineBasicBlock::reverse_iterator I = MBB.rbegin(), E = MBB.rend();
I != E; ++I) {
+ if (I->isDebugValue())
+ continue;
+
BitVector Defs(8);
SmallVector<MachineOperand *, 2> Uses;
MachineInstr &MI = *I;