Skip to content

Commit cdfbb59

Browse files
committed
Replace remaining calls to tapir_frame with null
1 parent 191895d commit cdfbb59

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7816,6 +7816,11 @@ void SelectionDAGBuilder::visitIntrinsicCall(const CallInst &I,
78167816
TLI.getFrameIndexTy(DAG.getDataLayout()),
78177817
getValue(I.getArgOperand(0))));
78187818
return;
7819+
case Intrinsic::tapir_frame: {
7820+
EVT VT = TLI.getValueType(DAG.getDataLayout(), I.getType());
7821+
setValue(&I, DAG.getConstant(0, sdl, VT));
7822+
return;
7823+
}
78197824
}
78207825
}
78217826

0 commit comments

Comments
 (0)