[all-commits] [llvm/llvm-project] a16281: [IR] Reimplement FPMathOperator::classof as a whit...

jayfoad via All-commits all-commits at lists.llvm.org
Fri Oct 18 09:15:26 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a162817a2b7ca0d7bd285a2a3e969a3a652aad57
      https://github.com/llvm/llvm-project/commit/a162817a2b7ca0d7bd285a2a3e969a3a652aad57
  Author: Jay Foad <jay.foad at gmail.com>
  Date:   2019-10-18 (Fri, 18 Oct 2019)

  Changed paths:
    M llvm/include/llvm/IR/Operator.h
    M llvm/unittests/IR/IRBuilderTest.cpp

  Log Message:
  -----------
  [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




More information about the All-commits mailing list