[llvm] [BOLT] Enhance fixed indirect branch handling (PR #71324)

Amir Ayupov via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 7 21:25:27 PST 2023


================
@@ -54,7 +54,6 @@ enum class IndirectBranchType : char {
   POSSIBLE_TAIL_CALL,      /// Possibly a tail call.
   POSSIBLE_JUMP_TABLE,     /// Possibly a switch/jump table.
   POSSIBLE_PIC_JUMP_TABLE, /// Possibly a jump table for PIC.
-  POSSIBLE_GOTO,           /// Possibly a gcc's computed goto.
----------------
aaupov wrote:

Please don't remove it. I have a WIP diff that adds support and it's known to be present in cpython interpreter loop (_PyEval_EvalFrameDefault,_PyEval_EvalFrame_AOT_Interpreter)

https://github.com/llvm/llvm-project/pull/71324


More information about the llvm-commits mailing list