[all-commits] [llvm/llvm-project] b94b69: [RISCV] Fix ISCVISAInfo::computeDefaultABI() resul...

Alexander Richardson via All-commits all-commits at lists.llvm.org
Fri Jul 31 22:45:41 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b94b699857a5de41b0def1cffca6908e584be27f
      https://github.com/llvm/llvm-project/commit/b94b699857a5de41b0def1cffca6908e584be27f
  Author: Alexander Richardson <mail at alexrichardson.me>
  Date:   2026-08-01 (Sat, 01 Aug 2026)

  Changed paths:
    M llvm/lib/TargetParser/RISCVISAInfo.cpp
    M llvm/unittests/Target/RISCV/CMakeLists.txt
    A llvm/unittests/Target/RISCV/RISCVBaseInfoTest.cpp
    M llvm/unittests/TargetParser/RISCVISAInfoTest.cpp

  Log Message:
  -----------
  [RISCV] Fix ISCVISAInfo::computeDefaultABI() result for xcheriot (#212129)

XCheriot was not considered in this function, so RV32E+XCheriot
defaulted
to ilp32e instead of cheriot when no -target-abi was given.

Since this function does not have unit test coverage, this adds new
tests
for the ABI inference functions: RISCVISAInfo::computeDefaultABI() and
RISCVABI::computeTargetABI.

This change was created with the help of AI tools



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list