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: _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits