[llvm-branch-commits] [IR] Introduce `llvm.experimental.hot()` (PR #84850)
Matt Arsenault via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Mar 11 21:57:23 PDT 2024
================
@@ -7276,6 +7276,12 @@ void SelectionDAGBuilder::visitIntrinsicCall(const CallInst &I,
setValue(&I, getValue(I.getArgOperand(0)));
return;
+ case Intrinsic::experimental_hot:
+ // Default lowering to false. It's intended to be lowered as soon as profile
+ // is avalible to unblock other optimizations.
----------------
arsenm wrote:
The optimization pipeline isn't mandatory, -O0 must still work
https://github.com/llvm/llvm-project/pull/84850
More information about the llvm-branch-commits
mailing list