Skip to content

Commit ce7657b

Browse files
committed
initializer list throughout splitVector
1 parent c91a01c commit ce7657b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1831,7 +1831,7 @@ AMDGPUTargetLowering::splitVector(const SDValue &N, const SDLoc &DL,
18311831

18321832
SDValue Hi = DAG.getNode(ISD::EXTRACT_VECTOR_ELT, DL, HiVT, N,
18331833
DAG.getVectorIdxConstant(LoNumElts, DL));
1834-
return std::pair(Lo, Hi);
1834+
return {Lo, Hi};
18351835
}
18361836

18371837
SDValue AMDGPUTargetLowering::SplitVectorLoad(const SDValue Op,

0 commit comments

Comments
 (0)