llvm-project
4e32fa99 - [GIsel] Add combine (sub a, (mul x, C)) -> (add a, (mul x, -C)) (#194282)

Commit
4 days ago
[GIsel] Add combine (sub a, (mul x, C)) -> (add a, (mul x, -C)) (#194282) Copy this canonicalization from InstCombine so it can run on post-legalized expansions. This is especially useful if the sub is a neg.
Author
Parents
Loading