[all-commits] [llvm/llvm-project] 781b78: [PowerPC] Only legalize FNEARBYINT with unsafe fp ...

Nemanja Ivanovic via All-commits all-commits at lists.llvm.org
Thu Jan 2 11:46:39 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 781b78a3610886e265f08d6de625bfe19e3dd8cf
      https://github.com/llvm/llvm-project/commit/781b78a3610886e265f08d6de625bfe19e3dd8cf
  Author: Nemanja Ivanovic <nemanja.i.ibm at gmail.com>
  Date:   2020-01-02 (Thu, 02 Jan 2020)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
    M llvm/test/CodeGen/PowerPC/scalar-rounding-ops.ll
    M llvm/test/CodeGen/PowerPC/vector-constrained-fp-intrinsics.ll

  Log Message:
  -----------
  [PowerPC] Only legalize FNEARBYINT with unsafe fp math

Commit 0f0330a78709 legalized these nodes on PPC without consideration of
unsafe math which means that we get inexact exceptions raised for nearbyint.
Since this doesn't conform to the standard, switch this legalization to depend
on unsafe fp math.




More information about the All-commits mailing list