From cdfbb59275f667ff54c2d68fd95f11f3ec6a982e Mon Sep 17 00:00:00 2001 From: "John F. Carr" Date: Thu, 14 Nov 2024 15:45:21 -0500 Subject: [PATCH] Replace remaining calls to tapir_frame with null --- llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp index 5c422f44b338..1db380149702 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp @@ -7816,6 +7816,11 @@ void SelectionDAGBuilder::visitIntrinsicCall(const CallInst &I, TLI.getFrameIndexTy(DAG.getDataLayout()), getValue(I.getArgOperand(0)))); return; + case Intrinsic::tapir_frame: { + EVT VT = TLI.getValueType(DAG.getDataLayout(), I.getType()); + setValue(&I, DAG.getConstant(0, sdl, VT)); + return; + } } }