[all-commits] [llvm/llvm-project] 3fe814: [clang][RISCV] Change default abi with f extension...

Jianjian Guan via All-commits all-commits at lists.llvm.org
Thu Dec 14 19:16:20 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3fe81410b23c4f13954e99c7180fa8a7e1e8ee88
      https://github.com/llvm/llvm-project/commit/3fe81410b23c4f13954e99c7180fa8a7e1e8ee88
  Author: Jianjian Guan <jacquesguan at me.com>
  Date:   2023-12-15 (Fri, 15 Dec 2023)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/test/Driver/riscv-abi.c
    M clang/test/Driver/riscv-cpus.c
    M llvm/docs/ReleaseNotes.rst
    M llvm/lib/Support/RISCVISAInfo.cpp
    M llvm/test/CodeGen/RISCV/callee-saved-fpr32s.ll
    M llvm/test/CodeGen/RISCV/calling-conv-half.ll
    M llvm/test/CodeGen/RISCV/calling-conv-rv32f-ilp32.ll
    M llvm/test/CodeGen/RISCV/calling-conv-vector-float.ll
    M llvm/test/CodeGen/RISCV/float-bitmanip-dagcombines.ll
    M llvm/test/CodeGen/RISCV/float-frem.ll
    M llvm/test/CodeGen/RISCV/float-select-verify.ll
    M llvm/test/CodeGen/RISCV/half-bitmanip-dagcombines.ll
    M llvm/test/CodeGen/RISCV/half-fcmp.ll

  Log Message:
  -----------
  [clang][RISCV] Change default abi with f extension but without d extension (#73489)

Now we have default abi lp64 for rv64if and ilp32 for rv32if, which is
different with riscv-gnu-toolchain. In
https://github.com/riscv-collab/riscv-gnu-toolchain/blob/8e9fb09a0c4b1e566492ee6f42e8c1fa5ef7e0c2/configure#L3385
when have f and not d, it prefers lp64f/ilp32f but no soft float. This
patch tries to make their behaviors consistent.




More information about the All-commits mailing list