mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-03-04 10:30:30 +00:00
The wrong parameter was being tested to deturmine i32 vs i64
llvm-svn: 31431
This commit is contained in:
parent
1a81dcf240
commit
c2f822392c
@ -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…
x
Reference in New Issue
Block a user