HomePhabricator

[IR] Reimplement FPMathOperator::classof as a whitelist.

Authored by foad on Oct 18 2019, 9:16 AM.

Description

[IR] Reimplement FPMathOperator::classof as a whitelist.

Summary:
This makes it much easier to verify that the implementation matches the
documentation. It uncovered a bug in the unit tests where we were
accidentally setting fast math flags on a load instruction.

Reviewers: spatel, wristow, arsenm, hfinkel, aemerson, efriedma, cameron.mcinally, mcberg2017, jmolloy

Subscribers: wdng, llvm-commits

Tags: #llvm

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

llvm-svn: 375252

Details

Committed
foadOct 18 2019, 9:16 AM
Differential Revision
D69176: [IR] Reimplement FPMathOperator::classof as a whitelist.
Parents
rGaa3806b47c74: Update docs for fast-math flags.
Branches
Unknown
Tags
Unknown