[llvm-commits] CVS: llvm/lib/Target/X86/X86ISelPattern.cpp
Chris Lattner
lattner at cs.uiuc.edu
Thu Mar 17 08:29:42 PST 2005
Changes in directory llvm/lib/Target/X86:
X86ISelPattern.cpp updated: 1.91 -> 1.92
---
Log message:
Don't emit two comparisons when comparing a FP value against zero!
---
Diffs of the changes: (+1 -0)
X86ISelPattern.cpp | 1 +
1 files changed, 1 insertion(+)
Index: llvm/lib/Target/X86/X86ISelPattern.cpp
diff -u llvm/lib/Target/X86/X86ISelPattern.cpp:1.91 llvm/lib/Target/X86/X86ISelPattern.cpp:1.92
--- llvm/lib/Target/X86/X86ISelPattern.cpp:1.91 Mon Mar 14 22:54:20 2005
+++ llvm/lib/Target/X86/X86ISelPattern.cpp Thu Mar 17 10:29:26 2005
@@ -1078,6 +1078,7 @@
BuildMI(BB, X86::FTST, 1).addReg(Reg);
BuildMI(BB, X86::FNSTSW8r, 0);
BuildMI(BB, X86::SAHF, 1);
+ return;
}
}
More information about the llvm-commits
mailing list