3 Commits

Author SHA1 Message Date
Nikita Popov
b8df88b41c [InstCombine] Support zext nneg in gep of sext add fold
Add m_NNegZext() and m_SExtLike() matchers to make doing these kinds
of changes simpler in the future.
2023-12-21 16:38:09 +01:00
Nikita Popov
4d7112435e [InstCombine] Add zext nneg test variant for gep of sext add fold (NFC) 2023-12-21 16:38:09 +01:00
LiqinWeng
f7247d5041
[InstCombine] Canonicalise SextADD + GEP (#69581) 2023-11-29 09:50:58 +08:00