[llvm] [RISCV] Change RISCVABI::computeTargetABI() to return Expected<ABI> (PR #213410)

Alexander Richardson via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 31 22:58:05 PDT 2026


================
@@ -36,8 +36,8 @@
 ; RUN: llc -mtriple=riscv64 -target-abi lp64f < %s 2>&1 \
 ; RUN:   | FileCheck -check-prefix=RV64I-LP64F %s
 
-; RV32I-ILP32F: Hard-float 'f' ABI can't be used for a target that doesn't support the F instruction set extension (ignoring target-abi)
-; RV64I-LP64F: Hard-float 'f' ABI can't be used for a target that doesn't support the F instruction set extension (ignoring target-abi)
+; RV32I-ILP32F: hard-float 'f' ABI can't be used for a target that doesn't support the F instruction set extension (ignoring target-abi)
----------------
arichardson wrote:

maybe this should be prefixed with `warning:` to avoid the weird lower-case start of sentence?

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


More information about the llvm-commits mailing list