mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-15 16:09:57 +00:00
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
This commit is contained in:
parent
0c7af7cbce
commit
8ed4c47d70
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user