Skip to content

Commit

Permalink
Replace remaining calls to tapir_frame with null
Browse files Browse the repository at this point in the history
  • Loading branch information
VoxSciurorum committed Nov 14, 2024
1 parent 191895d commit cdfbb59
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
}

Expand Down

0 comments on commit cdfbb59

Please sign in to comment.