[all-commits] [llvm/llvm-project] 3ec008: [DAG] Update `isKnownNeverNaN` for `FMA/FMAD`

Pierre van Houtryve via All-commits all-commits at lists.llvm.org
Wed Oct 5 23:52:54 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3ec0085c3fd4218f776a4318e563a8fe73f01778
      https://github.com/llvm/llvm-project/commit/3ec0085c3fd4218f776a4318e563a8fe73f01778
  Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
  Date:   2022-10-06 (Thu, 06 Oct 2022)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
    M llvm/test/CodeGen/AMDGPU/known-never-nan.ll

  Log Message:
  -----------
  [DAG] Update `isKnownNeverNaN` for `FMA/FMAD`

We can still get a NaN even if none of the operands are NaN,
e.g. from +inf/-inf. D50804 didn't catch that.

Reviewed By: arsenm

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




More information about the All-commits mailing list