[llvm-branch-commits] [RISCV] Select the capability ABI by default when the Y extension is enabled (PR #213411)

Alexander Richardson via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Sep 14 11:14:36 PDT 2026


================
@@ -334,7 +334,7 @@
 ; RUN: llc -mtriple=riscv64 -mattr=+sdext  %s -o - | FileCheck --check-prefix=RV64SDEXT %s
 ; RUN: llc -mtriple=riscv64 -mattr=+sdtrig  %s -o - | FileCheck --check-prefix=RV64SDTRIG %s
 ; RUN: llc -mtriple=riscv64 -mattr=+experimental-p %s -o - | FileCheck --check-prefix=RV64P %s
-; RUN: llc -mtriple=riscv64 -mattr=+experimental-y %s -o - | FileCheck --check-prefix=RV64Y %s
+; RUN: llc -mtriple=riscv64 -mattr=+experimental-y -target-abi lp64 %s -o - | FileCheck --check-prefix=RV64Y %s
----------------
arichardson wrote:

This change is needed since we otherwise hit the codegen assertion that l64pc128 ABI is unsuported (which needs quite a few more changes before that can be removed). 

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


More information about the llvm-branch-commits mailing list