[all-commits] [llvm/llvm-project] 842a8c: LoongArch: Set FMAXNUM and FMINNUM as Legal (#139010)

YunQiang Su via All-commits all-commits at lists.llvm.org
Fri May 9 01:32:17 PDT 2025


  Branch: refs/heads/users/dinistro/add-block-address-cloning-test
  Home:   https://github.com/llvm/llvm-project
  Commit: 842a8c67d36101d1697ed647a143f9306bf2f23c
      https://github.com/llvm/llvm-project/commit/842a8c67d36101d1697ed647a143f9306bf2f23c
  Author: YunQiang Su <yunqiang at isrc.iscas.ac.cn>
  Date:   2025-05-09 (Fri, 09 May 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/test/CodeGen/LoongArch/fp-max-min.ll
    M llvm/test/CodeGen/LoongArch/ir-instruction/atomicrmw-fp.ll
    M llvm/unittests/Transforms/Utils/CloningTest.cpp

  Log Message:
  -----------
  LoongArch: Set FMAXNUM and FMINNUM as Legal (#139010)

Now we define FMAXNUM and FMINNUM as IEEE754-2008 with +0.0>-0.0.
LoongArch's fmax/fmin just follow this rules full.

FMAXNUM_IEEE and FMINNUM_IEEE will be removed in future once:

Fixes FMAXNUM/FMINNUM for all targets
The use of FMAXNUM_IEEE/FMINNUM_IEEE are not used by middle end anymore.



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