Skip to content
Unverified Commit f3056dcc authored by Roman Lebedev's avatar Roman Lebedev
Browse files

[InstCombine] Negator: -(cond ? x : -x) --> cond ? -x : x

We were errneously only doing that for old-style abs/nabs,
but we have no such legality check on the condition of the select.

https://rise4fun.com/Alive/xBHS
parent 1d25d073
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment