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

[InstCombine] Perform C-(X+C2) --> (C-C2)-X transform before using Negator

In particular, it makes it fire for C=0, because negator doesn't want
to perform that fold since in general it's not beneficial.
parent e465f9c3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment