Here's a small patch to fix an assert in NegateValue(...).
This may need further performance improvements...
Differential D66612
[Reassoc] Small fix to support unary FNeg in NegateValue(...) cameron.mcinally on Aug 22 2019, 11:47 AM. Authored by
Details Here's a small patch to fix an assert in NegateValue(...). This may need further performance improvements...
Diff Detail
Event TimelineComment Actions BTW, general comment: Many of the remaining BinaryOperator contexts in Reassociate.cpp will need re-examaination too as UnaryOperator may also be present in places where it currently is not.
Comment Actions Agreed. If you have any test cases that I can use as an intuition pump, that would be great. I haven't worked that much in Reassociate. Comment Actions LGTM
|