llvm-project
4e32fa99
- [GIsel] Add combine (sub a, (mul x, C)) -> (add a, (mul x, -C)) (#194282)
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Commit
View On
GitHub
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.
References
#194282 - [GIsel] Add combine (sub a, (mul x, C)) -> (add a, (mul x, -C))
Author
AlexMaclean
Parents
b8142ec5
Loading