[PATCH] D61447: [FPEnv] WIP on threading fneg through llvm

Cameron McInally via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 3 09:50:26 PDT 2019


cameron.mcinally added a comment.

In D61447#1488502 <https://reviews.llvm.org/D61447#1488502>, @cameron.mcinally wrote:

> @spatel I'm not a PatternMatch expert, but I think that change is what we wanted. That is, to continue to match `FSub(-0.0, X)` as an `FNeg(X)`.


Just FYI that an equivalent patch was made to the PatternMatcher in D61520 <https://reviews.llvm.org/D61520>. I needed this for some FNeg constant folding work. Thanks for the inspirations, Kevin.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D61447/new/

https://reviews.llvm.org/D61447





More information about the llvm-commits mailing list