[clang] [llvm] [LoongArch] Add options for annotate tablejump (PR #102411)
Lu Weining via cfe-commits
cfe-commits at lists.llvm.org
Sat Oct 12 00:33:01 PDT 2024
================
@@ -5340,6 +5340,10 @@ def mno_lasx : Flag<["-"], "mno-lasx">, Group<m_loongarch_Features_Group>,
def msimd_EQ : Joined<["-"], "msimd=">, Group<m_loongarch_Features_Group>,
Flags<[TargetSpecific]>,
HelpText<"Select the SIMD extension(s) to be enabled in LoongArch either 'none', 'lsx', 'lasx'.">;
+def mannotate_tablejump : Flag<["-"], "mannotate-tablejump">, Group<m_loongarch_Features_Group>,
+ HelpText<"Enable annotate table jump instruction to correlate it with the jump table.">;
----------------
SixWeining wrote:
Is it necessary to add the TargetSpecific flag?
https://github.com/llvm/llvm-project/pull/102411
More information about the cfe-commits
mailing list