[all-commits] [llvm/llvm-project] 4bb5e4: [LoongArch] Add codegen support for ILP32D calling...

hev via All-commits all-commits at lists.llvm.org
Wed Jun 25 06:00:51 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4bb5e48fb9337e8e04a15f9403c4757272fd0979
      https://github.com/llvm/llvm-project/commit/4bb5e48fb9337e8e04a15f9403c4757272fd0979
  Author: hev <wangrui at loongson.cn>
  Date:   2025-06-25 (Wed, 25 Jun 2025)

  Changed paths:
    M llvm/lib/Target/LoongArch/LoongArchFloat64InstrInfo.td
    M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
    M llvm/lib/Target/LoongArch/LoongArchISelLowering.h
    M llvm/lib/Target/LoongArch/LoongArchInstrInfo.td
    A llvm/test/CodeGen/LoongArch/calling-conv-ilp32d.ll
    M llvm/test/CodeGen/LoongArch/inline-asm-constraint-f.ll
    M llvm/test/CodeGen/LoongArch/ir-instruction/double-convert.ll
    M llvm/test/CodeGen/LoongArch/ir-instruction/load-store-atomic.ll

  Log Message:
  -----------
  [LoongArch] Add codegen support for ILP32D calling convention (#141539)

This patch adds codegen support for the calling convention defined by
the ILP32D ABI, which passes `f64` values using a soft-float mechanism.
Similar to RISC-V, it introduces pseudo-instructions to construct an
`f64` value from a pair of `i32`s, and to split an `f64` into two `i32`
values.



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