Skip to content

Commit 54ab1cc

Browse files
committed
Use explicit type
Signed-off-by: John Lu <[email protected]>
1 parent a3b46db commit 54ab1cc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

llvm/lib/Target/AMDGPU/SIISelLowering.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16624,9 +16624,8 @@ SDValue SITargetLowering::performSetCCCombine(SDNode *N,
1662416624
SDValue ResultLo = NodeLo.getValue(0);
1662516625
SDValue ResultHi = NodeHi.getValue(0);
1662616626

16627-
EVT ConcatType = EVT::getVectorVT(*DAG.getContext(), TargetType, 2);
1662816627
SDValue JoinedResult =
16629-
DAG.getBuildVector(ConcatType, SL, {ResultLo, ResultHi});
16628+
DAG.getBuildVector(MVT::v2i32, SL, {ResultLo, ResultHi});
1663016629

1663116630
SDValue Result = DAG.getNode(ISD::BITCAST, SL, VT, JoinedResult);
1663216631
SDValue Overflow = NodeHi.getValue(1);

0 commit comments

Comments
 (0)