[clang] [llvm] [LoongArch] Add options for annotate tablejump (PR #102411)
via cfe-commits
cfe-commits at lists.llvm.org
Sun Oct 13 20:13:45 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
----------------
wangleiat wrote:
Thanks, I will do that.
https://github.com/llvm/llvm-project/pull/102411
More information about the cfe-commits
mailing list