mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 02:33:06 +01:00
NVPTXTargetLowering::LowerReturn - Pass DataLayout by reference. NFCI.
This commit is contained in:
parent
eef4c454f0
commit
6b449d392c
@ -2653,7 +2653,7 @@ NVPTXTargetLowering::LowerReturn(SDValue Chain, CallingConv::ID CallConv,
|
||||
if (!isABI)
|
||||
return Chain;
|
||||
|
||||
const DataLayout DL = DAG.getDataLayout();
|
||||
const DataLayout &DL = DAG.getDataLayout();
|
||||
SmallVector<EVT, 16> VTs;
|
||||
SmallVector<uint64_t, 16> Offsets;
|
||||
ComputePTXValueVTs(*this, DL, RetTy, VTs, &Offsets);
|
||||
|
Loading…
Reference in New Issue
Block a user