diff options
author | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2014-08-01 14:35:58 +0000 |
---|---|---|
committer | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2014-08-01 14:35:58 +0000 |
commit | 087606898b3d5d5cca88160ad0f2269a4e3b0764 (patch) | |
tree | 1b0d6052d3a880f6e000cefea535647f4c4e0f0f /llvm/lib/Target/PowerPC/PPCISelLowering.cpp | |
parent | 3f6481d0d31674dd3e3e772ffa4dc6df1c9fdb3d (diff) | |
download | bcm5719-llvm-087606898b3d5d5cca88160ad0f2269a4e3b0764.tar.gz bcm5719-llvm-087606898b3d5d5cca88160ad0f2269a4e3b0764.zip |
[PowerPC] PR20280 - Slots for byval parameters are not immutable
Found by inspection while looking at PR20280: code would mark slots
in the parameter save area where a byval parameter is passed as
"immutable". This is not correct since code is allowed to modify
byval parameters in place in the parameter save area.
llvm-svn: 214517
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCISelLowering.cpp')
-rw-r--r-- | llvm/lib/Target/PowerPC/PPCISelLowering.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCISelLowering.cpp b/llvm/lib/Target/PowerPC/PPCISelLowering.cpp index 96735338275..9ba2f9194a4 100644 --- a/llvm/lib/Target/PowerPC/PPCISelLowering.cpp +++ b/llvm/lib/Target/PowerPC/PPCISelLowering.cpp @@ -2688,7 +2688,7 @@ PPCTargetLowering::LowerFormalArguments_64SVR4( int FI; if (HasParameterArea || ArgSize + ArgOffset > LinkageSize + Num_GPR_Regs * PtrByteSize) - FI = MFI->CreateFixedObject(ArgSize, ArgOffset, true); + FI = MFI->CreateFixedObject(ArgSize, ArgOffset, false); else FI = MFI->CreateStackObject(ArgSize, Align, false); SDValue FIN = DAG.getFrameIndex(FI, PtrVT); |