[all-commits] [llvm/llvm-project] bad029: Improve STRICT_FSETCC codegen in absence of no NaN

RoboTux via All-commits all-commits at lists.llvm.org
Thu Feb 11 06:19:56 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bad0290ce3744d4f62dbe82380e6f648c1aa39c5
      https://github.com/llvm/llvm-project/commit/bad0290ce3744d4f62dbe82380e6f648c1aa39c5
  Author: Thomas Preud'homme <thomasp at graphcore.ai>
  Date:   2021-02-11 (Thu, 11 Feb 2021)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    A llvm/test/CodeGen/AArch64/arm64-constrained-fcmp-no-nans-opt.ll

  Log Message:
  -----------
  Improve STRICT_FSETCC codegen in absence of no NaN

As for SETCC, use a less expensive condition code when generating
STRICT_FSETCC if the node is known not to have Nan.

Reviewed By: SjoerdMeijer

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




More information about the All-commits mailing list