[clang] [llvm] [LoongArch] Add options for annotate tablejump (PR #102411)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 11 23:44:11 PDT 2024
================
@@ -167,6 +169,39 @@ bool LoongArchPreRAExpandPseudo::expandMI(
case LoongArch::PseudoTAIL_MEDIUM:
case LoongArch::PseudoTAIL_LARGE:
return expandFunctionCALL(MBB, MBBI, NextMBBI, /*IsTailCall=*/true);
+ case LoongArch::PseudoBRIND: {
+ // If the PseudoBRIND is used to table jump, then emit a label to annotate
----------------
heiher wrote:
Move these statements into a new method function?
https://github.com/llvm/llvm-project/pull/102411
More information about the cfe-commits
mailing list