commit | 861e3f325fd520570ba0c6786384183b3d2bf806 | [log] [tgz] |
---|---|---|
author | Simon Pilgrim <llvm-dev@redking.me.uk> | Tue Jun 12 14:47:13 2018 +0000 |
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | Tue Jun 12 14:47:13 2018 +0000 |
tree | 25a7c7293e83e96df07352d67928b77f916a8d37 | |
parent | 5d7877c83af183d2f90496cb660ba3e7899b9482 [diff] |
[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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@334506 91177308-0d34-0410-b5e6-96231b3b80d8