Changes in directory llvm/lib/Transforms/Scalar:
InstructionCombining.cpp updated: 1.535 -> 1.536 --- Log message: The wrong parameter was being tested to deturmine i32 vs i64 --- Diffs of the changes: (+1 -1) InstructionCombining.cpp | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/Transforms/Scalar/InstructionCombining.cpp diff -u llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.535 llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.536 --- llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.535 Thu Nov 2 14:25:50 2006 +++ llvm/lib/Transforms/Scalar/InstructionCombining.cpp Fri Nov 3 16:45:50 2006 @@ -6405,7 +6405,7 @@ if (GVSrc->isConstant()) { Module *M = CI.getParent()->getParent()->getParent(); const char *Name; - if (CI.getCalledFunction()->getFunctionType()->getParamType(3) == + if (CI.getCalledFunction()->getFunctionType()->getParamType(2) == Type::UIntTy) Name = "llvm.memcpy.i32"; else _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits