Skip to content

Commit 4979348

Browse files
committed
Address review feedback
1 parent 4707c26 commit 4979348

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6022,9 +6022,7 @@ SDValue DAGTypeLegalizer::PromoteIntRes_PATCHPOINT(SDNode *N) {
60226022
SDLoc dl(N);
60236023

60246024
assert(N->getNumValues() == 3 && "Expected 3 values for PATCHPOINT");
6025-
SmallVector<EVT, 3> VTs(N->values());
6026-
VTs[0] = NVT;
6027-
SDVTList VTList = DAG.getVTList(VTs);
6025+
SDVTList VTList = DAG.getVTList({NVT, MVT::Other, MVT::Glue});
60286026

60296027
SmallVector<SDValue> Ops(N->ops());
60306028
SDValue Res = DAG.getNode(ISD::PATCHPOINT, dl, VTList, Ops);

0 commit comments

Comments
 (0)