[PATCH] D48236: [IR] move shuffle mask queries from TTI to ShuffleVectorInst

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 17 09:34:41 PDT 2018


RKSimon added a comment.

I haven't had a chance to go through this yet, but it'd be useful to be able to call these through ArrayRef<int> style shuffle masks (see the TODO I added for SLP to https://reviews.llvm.org/D48023)

Plus, we probably need to think about input/output size mismatches a little more - Identity and Broadcast for instance don't really care - adding insert/extract subvector pattern matches would be a start.


https://reviews.llvm.org/D48236





More information about the llvm-commits mailing list