Changes in directory llvm/lib/CodeGen:
IntrinsicLowering.cpp updated: 1.53 -> 1.54 --- 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) IntrinsicLowering.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/lib/CodeGen/IntrinsicLowering.cpp diff -u llvm/lib/CodeGen/IntrinsicLowering.cpp:1.53 llvm/lib/CodeGen/IntrinsicLowering.cpp:1.54 --- llvm/lib/CodeGen/IntrinsicLowering.cpp:1.53 Thu Dec 21 02:28:31 2006 +++ llvm/lib/CodeGen/IntrinsicLowering.cpp Sat Dec 23 00:05:40 2006 @@ -432,8 +432,8 @@ Value *L = CI->getOperand(1); Value *R = CI->getOperand(2); - Value *LIsNan = new SetCondInst(Instruction::SetNE, L, L, "LIsNan", CI); - Value *RIsNan = new SetCondInst(Instruction::SetNE, R, R, "RIsNan", CI); + Value *LIsNan = new FCmpInst(FCmpInst::FCMP_ONE, L, L, "LIsNan", CI); + Value *RIsNan = new FCmpInst(FCmpInst::FCMP_ONE, R, R, "RIsNan", CI); CI->replaceAllUsesWith( BinaryOperator::create(Instruction::Or, LIsNan, RIsNan, "isunordered", CI)); _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits