[all-commits] [llvm/llvm-project] 72fb37: AArch64: Select FCANONICALIZE (#104429)

YunQiang Su via All-commits all-commits at lists.llvm.org
Thu Oct 10 17:45:35 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 72fb37922577997f3666203dbdb2601f0fc97748
      https://github.com/llvm/llvm-project/commit/72fb37922577997f3666203dbdb2601f0fc97748
  Author: YunQiang Su <yunqiang at isrc.iscas.ac.cn>
  Date:   2024-10-11 (Fri, 11 Oct 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/AArch64/AArch64InstrInfo.td
    A llvm/test/CodeGen/AArch64/fp-fcanonicalize.ll
    M llvm/test/CodeGen/AArch64/fp-maximumnum-minimumnum.ll

  Log Message:
  -----------
  AArch64: Select FCANONICALIZE (#104429)

FMINNM/FMAXNM instructions of AArch64 follow IEEE754-2008. We can use
them to canonicalize a floating point number. And
FMINNUM_IEEE/FMAXNUM_IEEE is used by something like expanding
FMINIMUMNUM/FMAXIMUMNUM, so let's define them.

---------

Co-authored-by: Your Name <you at example.com>



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