[all-commits] [llvm/llvm-project] 841ee7: AMDGPU/GlobalISel: Precommit globalisel tests for ...

petar-avramovic via All-commits all-commits at lists.llvm.org
Fri Feb 12 08:15:51 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 841ee7423d1cc2e6195b461f3bb066b81b6546d6
      https://github.com/llvm/llvm-project/commit/841ee7423d1cc2e6195b461f3bb066b81b6546d6
  Author: Petar Avramovic <Petar.Avramovic at amd.com>
  Date:   2021-02-12 (Fri, 12 Feb 2021)

  Changed paths:
    M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fmaxnum.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fminnum.mir

  Log Message:
  -----------
  AMDGPU/GlobalISel: Precommit globalisel tests for isKnownNeverNaN


  Commit: 122c649c982f1f4f1dc60dca2c5e1c9df86327ed
      https://github.com/llvm/llvm-project/commit/122c649c982f1f4f1dc60dca2c5e1c9df86327ed
  Author: Petar Avramovic <Petar.Avramovic at amd.com>
  Date:   2021-02-12 (Fri, 12 Feb 2021)

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/Utils.cpp
    M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fmaxnum.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fminnum.mir

  Log Message:
  -----------
  AMDGPU/GlobalISel: Check values of constants in isKnownNeverNaN

Differential Revision: https://reviews.llvm.org/D91714


  Commit: f0d65f40968d37587f54392d9ab4c73cc65101d2
      https://github.com/llvm/llvm-project/commit/f0d65f40968d37587f54392d9ab4c73cc65101d2
  Author: Petar Avramovic <Petar.Avramovic at amd.com>
  Date:   2021-02-12 (Fri, 12 Feb 2021)

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/Utils.cpp
    M llvm/test/CodeGen/AMDGPU/GlobalISel/fmed3.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fmaxnum.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fminnum.mir

  Log Message:
  -----------
  AMDGPU/GlobalISel: Calculate isKnownNeverNaN for fminnum and fmaxnum

Implements same logis as in SelectionDAG.
G_FMINNUM_IEEE and G_FMAXNUM_IEEE are never SNaN by definition and
never NaN when one operand is known non-NaN and other known non-SNaN.
G_FMINNUM and G_FMAXNUM are never NaN/SNaN when one of the operands
is known non-NaN/SNaN.

Differential Revision: https://reviews.llvm.org/D91716


Compare: https://github.com/llvm/llvm-project/compare/f3fb2dd14738...f0d65f40968d


More information about the All-commits mailing list