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

Kevin P. Neal via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 3 09:54:16 PDT 2019


kpn added a comment.

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

> 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.


Glad to help!


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