Also, fix a test mistake I made when adding this new test. That was r360808.
Note that we could probably do a little better with the pattern matching here, but functionality first...
Differential D62013
[InstSimplify] Add unary fneg to `fsub 0.0, (fneg X) ==> X` transform cameron.mcinally on May 16 2019, 9:21 AM. Authored by
Details
Also, fix a test mistake I made when adding this new test. That was r360808. Note that we could probably do a little better with the pattern matching here, but functionality first...
Diff Detail
Event Timeline
|
Should keep the original comment, and add another line for the fneg case since both are handled