[llvm-commits] CVS: llvm/tools/bugpoint/Miscompilation.cpp
Reid Spencer
reid at x10sys.com
Fri Dec 22 22:06:59 PST 2006
Changes in directory llvm/tools/bugpoint:
Miscompilation.cpp updated: 1.81 -> 1.82
---
Log message:
For PR950: http://llvm.org/PR950 :
This patch removes the SetCC instructions and replaces them with the ICmp
and FCmp instructions. The SetCondInst instruction has been removed and
been replaced with ICmpInst and FCmpInst.
---
Diffs of the changes: (+2 -2)
Miscompilation.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Index: llvm/tools/bugpoint/Miscompilation.cpp
diff -u llvm/tools/bugpoint/Miscompilation.cpp:1.81 llvm/tools/bugpoint/Miscompilation.cpp:1.82
--- llvm/tools/bugpoint/Miscompilation.cpp:1.81 Sun Nov 26 19:05:10 2006
+++ llvm/tools/bugpoint/Miscompilation.cpp Sat Dec 23 00:05:41 2006
@@ -724,8 +724,8 @@
// Check to see if we already looked up the value.
Value *CachedVal = new LoadInst(Cache, "fpcache", EntryBB);
- Value *IsNull = new SetCondInst(Instruction::SetEQ, CachedVal,
- NullPtr, "isNull", EntryBB);
+ Value *IsNull = new ICmpInst(ICmpInst::ICMP_EQ, CachedVal,
+ NullPtr, "isNull", EntryBB);
new BranchInst(LookupBB, DoCallBB, IsNull, EntryBB);
// Resolve the call to function F via the JIT API:
More information about the llvm-commits
mailing list