[llvm-branch-commits] [IR] Introduce `llvm.experimental.hot()` (PR #84850)

Arthur Eubanks via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Mar 11 22:00:01 PDT 2024

@@ -7276,6 +7276,12 @@ void SelectionDAGBuilder::visitIntrinsicCall(const CallInst &I,
     setValue(&I, getValue(I.getArgOperand(0)));
+  case Intrinsic::experimental_hot:
+    // Default lowering to false. It's intended to be lowered as soon as profile
+    // is avalible to unblock other optimizations.
aeubanks wrote:

you are still required to run the -O0 "optimization" pipeline to do things like lowering (e.g. the examples I gave above) before codegen


More information about the llvm-branch-commits mailing list