[PATCH] D39304: [IR] redefine 'reassoc' fast-math-flag and add 'trans' fast-math-flag
Warren Ristow via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 30 18:37:53 PDT 2017
wristow added inline comments.
================
Comment at: include/llvm/IR/Operator.h:220
+ void setApproxFunc() { Flags |= ApproxFunc; }
+ void setFast() { set(); }
----------------
One loose end that needs to be taken care of more or less simultaneously is a Clang change. Specifically, the constructor for `CodeGenFunction` (in "CodeGenFunction.cpp") invokes `FastMathFlags::setUnsafeAlgebra()`, so it will need to be changed to `setFast()`.
https://reviews.llvm.org/D39304
More information about the llvm-commits
mailing list