[all-commits] [llvm/llvm-project] ea1337: [LoongArch] Custom legalizing ConstantFP to avoid ...

ZhaoQi via All-commits all-commits at lists.llvm.org
Fri Sep 12 05:35:43 PDT 2025


  Branch: refs/heads/users/zhaoqi5/custom-constantfp
  Home:   https://github.com/llvm/llvm-project
  Commit: ea1337e3d361f5dc491cdc2979b8fbac75b1ad66
      https://github.com/llvm/llvm-project/commit/ea1337e3d361f5dc491cdc2979b8fbac75b1ad66
  Author: Qi Zhao <zhaoqi01 at loongson.cn>
  Date:   2025-09-12 (Fri, 12 Sep 2025)

  Changed paths:
    M llvm/lib/Target/LoongArch/LoongArchFloat32InstrInfo.td
    M llvm/lib/Target/LoongArch/LoongArchFloat64InstrInfo.td
    M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
    M llvm/lib/Target/LoongArch/LoongArchISelLowering.h
    M llvm/test/CodeGen/LoongArch/calling-conv-half.ll
    M llvm/test/CodeGen/LoongArch/calling-conv-ilp32d.ll
    M llvm/test/CodeGen/LoongArch/double-imm.ll
    M llvm/test/CodeGen/LoongArch/float-imm.ll
    M llvm/test/CodeGen/LoongArch/fp-reciprocal.ll
    M llvm/test/CodeGen/LoongArch/fsqrt-reciprocal-estimate.ll
    M llvm/test/CodeGen/LoongArch/fsqrt.ll
    M llvm/test/CodeGen/LoongArch/ir-instruction/atomicrmw-fp.ll
    M llvm/test/CodeGen/LoongArch/ir-instruction/double-convert.ll
    M llvm/test/CodeGen/LoongArch/ir-instruction/float-convert.ll
    M llvm/test/CodeGen/LoongArch/target-abi-from-triple-edge-cases.ll
    M llvm/test/CodeGen/LoongArch/target-abi-from-triple.ll
    M llvm/test/CodeGen/LoongArch/vector-fp-imm.ll

  Log Message:
  -----------
  [LoongArch] Custom legalizing ConstantFP to avoid float loads

TODO: `frecip` and `frsqrt` cannot match.


  Commit: 2432bb0b52e393ced5ad60726137cbe54d04132a
      https://github.com/llvm/llvm-project/commit/2432bb0b52e393ced5ad60726137cbe54d04132a
  Author: Qi Zhao <zhaoqi01 at loongson.cn>
  Date:   2025-09-12 (Fri, 12 Sep 2025)

  Changed paths:
    M llvm/lib/Target/LoongArch/LoongArchFloat32InstrInfo.td
    M llvm/lib/Target/LoongArch/LoongArchFloat64InstrInfo.td
    M llvm/test/CodeGen/LoongArch/fp-reciprocal.ll
    M llvm/test/CodeGen/LoongArch/fsqrt-reciprocal-estimate.ll
    M llvm/test/CodeGen/LoongArch/fsqrt.ll

  Log Message:
  -----------
  deal with frecip and frsqrt


  Commit: df481191ce47bf7f6648d12b7947cd4c0e8e1794
      https://github.com/llvm/llvm-project/commit/df481191ce47bf7f6648d12b7947cd4c0e8e1794
  Author: Qi Zhao <zhaoqi01 at loongson.cn>
  Date:   2025-09-12 (Fri, 12 Sep 2025)

  Changed paths:
    M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
    M llvm/test/CodeGen/LoongArch/calling-conv-ilp32d.ll
    M llvm/test/CodeGen/LoongArch/double-imm.ll
    M llvm/test/CodeGen/LoongArch/fsqrt-reciprocal-estimate.ll
    M llvm/test/CodeGen/LoongArch/vector-fp-imm.ll

  Log Message:
  -----------
  add option to set max allowed instructins


Compare: https://github.com/llvm/llvm-project/compare/9f209030e133...df481191ce47

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