diff options
author | Andrew Lenharth <andrewl@lenharth.org> | 2006-11-03 22:45:50 +0000 |
---|---|---|
committer | Andrew Lenharth <andrewl@lenharth.org> | 2006-11-03 22:45:50 +0000 |
commit | 8ed4c47d70117ff1ec2c0e06260bef2c88641887 (patch) | |
tree | c876bb7ebf029b382b5b078ad503fba4e1c920fc /lib/Transforms | |
parent | 0c7af7cbceda202290aaddb93e90ab6d97959b75 (diff) | |
download | external_llvm-8ed4c47d70117ff1ec2c0e06260bef2c88641887.zip external_llvm-8ed4c47d70117ff1ec2c0e06260bef2c88641887.tar.gz external_llvm-8ed4c47d70117ff1ec2c0e06260bef2c88641887.tar.bz2 |
The wrong parameter was being tested to deturmine i32 vs i64
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31431 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms')
-rw-r--r-- | lib/Transforms/Scalar/InstructionCombining.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/InstructionCombining.cpp b/lib/Transforms/Scalar/InstructionCombining.cpp index 98c35dd..f00be24 100644 --- a/lib/Transforms/Scalar/InstructionCombining.cpp +++ b/lib/Transforms/Scalar/InstructionCombining.cpp @@ -6405,7 +6405,7 @@ Instruction *InstCombiner::visitCallInst(CallInst &CI) { 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 |