[PATCH] D75689: [VectorCombine] fold extract-extract-op with different extraction indexes
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 5 09:51:02 PST 2020
RKSimon added a comment.
getShuffleCost already takes an Index value (default = 0) that I meant to use for this kind of thing (its currently just used for subvector insertion/extraction), so either 'tweaking' SK_Broadcast to use Index or replacing it with a SK_Splat mode would be relatively painless.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D75689/new/
https://reviews.llvm.org/D75689
More information about the llvm-commits
mailing list