summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/PowerPC/scalar-rounding-ops.ll
Commit message (Collapse)AuthorAgeFilesLines
* [PowerPC] Only legalize FNEARBYINT with unsafe fp mathNemanja Ivanovic2020-01-021-12/+12
| | | | | | | 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.
* [PowerPC] Legalize rounding nodesNemanja Ivanovic2019-12-301-0/+561
VSX provides a full complement of rounding instructions yet we somehow ended up with some of them legal and others not. This just legalizes all of the FP rounding nodes and the FP -> int rounding nodes with unsafe math. Differential revision: https://reviews.llvm.org/D69949
OpenPOWER on IntegriCloud