[PATCH] D31509: [InstCombine] Combine vector shuffles if the same operand can be reused

Keno Fischer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 4 17:12:49 PDT 2017


loladiro added a comment.

Hmm, unless I did something wrong, the backend generates equivalent code whether or not we merge the shuffles. Or did you mean that we could do a better job with the three IR instruction form even though we currently don't?


https://reviews.llvm.org/D31509





More information about the llvm-commits mailing list