[clang] [llvm] [LoongArch] Support LA V1.1 feature ld-seq-sa that don't generate dbar 0x700. (PR #116762)

Lu Weining via cfe-commits cfe-commits at lists.llvm.org
Sun Nov 24 17:35:49 PST 2024


================
@@ -2011,8 +2011,9 @@ const StringMap<bool> sys::getHostCPUFeatures() {
 const StringMap<bool> sys::getHostCPUFeatures() {
   unsigned long hwcap = getauxval(AT_HWCAP);
   bool HasFPU = hwcap & (1UL << 3); // HWCAP_LOONGARCH_FPU
-  uint32_t cpucfg2 = 0x2;
+  const uint32_t cpucfg2 = 0x2, cpucfg3 = 0x3;
----------------
SixWeining wrote:

Should already be fixed.

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


More information about the cfe-commits mailing list