[llvm] [BOLT] Enhance fixed indirect branch handling (PR #71324)
Vladislav Khmelevsky via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 8 03:21:05 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.
----------------
yota9 wrote:
As I understand POSSIBLE_FIXED_BRANCH is signle-entry jump table. Shouldn't we add the same logic to POSSIBLE_TAIL_CALL with createUncondBranch to POSSIBLE_TAIL_CALL @maksfb?
https://github.com/llvm/llvm-project/pull/71324
More information about the llvm-commits
mailing list