[PATCH] D47986: [CostModel] Treat Identity shuffle masks as zero cost
Sanjay Patel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 11 10:34:12 PDT 2018
spatel added a comment.
We should fold these in InstSimplify, so assigning a zero cost seems appropriate, but that raises the question: who's creating these? Couldn't they call llvm::SimplifyShuffleVectorInst() and short-circuit the problem?
Repository:
rL LLVM
https://reviews.llvm.org/D47986
More information about the llvm-commits
mailing list