[llvm] [LoongArch] Introduce `32s` target feature for LA32S ISA extensions (PR #139695)

via llvm-commits llvm-commits at lists.llvm.org
Thu May 15 01:51:10 PDT 2025


================
@@ -854,6 +854,12 @@ def BREAK   : MISC_I15<0x002a0000>;
 def RDTIMEL_W : RDTIME_2R<0x00006000>;
 def RDTIMEH_W : RDTIME_2R<0x00006400>;
 
+// The CPUCFG instruction offers a reliable way to probing CPU features.
+// Although it's undefined on LA32R, adding compiler support enables the
----------------
heiher wrote:

Looks good to me. :smiley: 

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


More information about the llvm-commits mailing list