diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2018-06-12 14:47:13 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2018-06-12 14:47:13 +0000 |
commit | 07839219870f1bff1b41c5502fd16b09f549262d (patch) | |
tree | 49e98e83dfaaf02653d8fd965619a3ce14bd1c43 /llvm/lib/Support/Program.cpp | |
parent | 76969eaf3d386df61f4891d439a50b9c471a31e6 (diff) | |
download | llvm-07839219870f1bff1b41c5502fd16b09f549262d.zip llvm-07839219870f1bff1b41c5502fd16b09f549262d.tar.gz llvm-07839219870f1bff1b41c5502fd16b09f549262d.tar.bz2 |
[CostModel] Treat Identity shuffle masks as zero cost
As discussed on D47985, identity shuffle masks should probably be free.
I've limited this to the case where the input and output types all match - but we could probably accept all cases.
Differential Revision: https://reviews.llvm.org/D47986
llvm-svn: 334506
Diffstat (limited to 'llvm/lib/Support/Program.cpp')
0 files changed, 0 insertions, 0 deletions