[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:03 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.">;
+def mno_annotate_tablejump : Flag<["-"], "mno-annotate-tablejump">, Group<m_loongarch_Features_Group>,
----------------
SixWeining wrote:

The negative option is useless?

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


More information about the cfe-commits mailing list