[llvm] [InstCombine] Optimistically allow multiple shufflevector uses in foldOpPhi (PR #114278)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 20 01:19:30 PST 2024


https://github.com/nikic commented:

Sorry for being unclear, I do think that you should still keep the !SeenNonSimplifiedInVal check for the multi-use case. Without that check we could end up with *both* the original phis and extra new shufflevectors (rather than replacing shufflevectors with phis).

https://github.com/llvm/llvm-project/pull/114278


More information about the llvm-commits mailing list