2 Commits

Author SHA1 Message Date
Nikita Popov
43e7d9af1d [InstCombine] Fold extractvalue of phi
Just as we do for most other operations, we should push
extractvalue instructions through phis, if this does not increase
unfolded instruction count.
2022-09-01 10:51:54 +02:00
Nikita Popov
5b219dd9e9 [InstCombine] Add tests for extractvalue of phi (NFC) 2022-09-01 10:47:10 +02:00