forked from OSchip/llvm-project
While passing arg of types larger than char only one byte at lower end was getting passed. We couldn't catch this as we did not have tests that were passing an int value larger than 256.
llvm-svn: 68946
This commit is contained in:
parent
e2b8261d87
commit
0368bc4703
|
@ -939,7 +939,7 @@ LowerDirectCallArguments(SDValue Op, SDValue Chain, SDValue FrameAddress,
|
|||
|
||||
Ops.clear();
|
||||
Ops.push_back(Chain);
|
||||
Ops.push_back(Arg.getValue(0));
|
||||
Ops.push_back(Arg);
|
||||
Ops.push_back(PtrLo);
|
||||
Ops.push_back(PtrHi);
|
||||
Ops.push_back(DAG.getConstant(StoreOffset, MVT::i8));
|
||||
|
|
Loading…
Reference in New Issue