mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-27 14:34:58 +00:00
Use .data() instead of &x[0]
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203516 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
60616b61dc
commit
cc1240ee1b
@ -605,8 +605,8 @@ SDValue AMDGPUTargetLowering::SplitVectorLoad(const SDValue &Op,
|
||||
MemEltVT, Load->isVolatile(), Load->isNonTemporal(),
|
||||
Load->getAlignment()));
|
||||
}
|
||||
return DAG.getNode(ISD::BUILD_VECTOR, SL, Op.getValueType(), &Loads[0],
|
||||
Loads.size());
|
||||
return DAG.getNode(ISD::BUILD_VECTOR, SL, Op.getValueType(),
|
||||
Loads.data(), Loads.size());
|
||||
}
|
||||
|
||||
SDValue AMDGPUTargetLowering::MergeVectorStore(const SDValue &Op,
|
||||
|
Loading…
x
Reference in New Issue
Block a user