aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/MetadataLoader.cpp
diff options
context:
space:
mode:
authorDavid Green <david.green@arm.com>2019-10-02 11:40:51 +0000
committerDavid Green <david.green@arm.com>2019-10-02 11:40:51 +0000
commitc9b5ab8b1c7f40983538dc3c06f3db6d04364ca8 (patch)
tree37b959b345d2625f6e425bcffa513c8cf2e9d555 /llvm/lib/Bitcode/Reader/MetadataLoader.cpp
parent353ac42ce2f2250e4dacc533aed71285adf372df (diff)
downloadllvm-c9b5ab8b1c7f40983538dc3c06f3db6d04364ca8.zip
llvm-c9b5ab8b1c7f40983538dc3c06f3db6d04364ca8.tar.gz
llvm-c9b5ab8b1c7f40983538dc3c06f3db6d04364ca8.tar.bz2
[ARM] Identity shuffles are legal
Identity shuffles, of the form (0, 1, 2, 3, ...) are perfectly OK under MVE (they essentially just become bitcasts). We were not catching that in the existing set of what we considered legal though. On NEON, they would be covered by vext's, but that is not generally available in MVE. This uses ShuffleVectorInst::isIdentityMask which is a little odd to use here but does what we want and prevents us from just rewriting what is the same function. Differential Revision: https://reviews.llvm.org/D68241 llvm-svn: 373446
Diffstat (limited to 'llvm/lib/Bitcode/Reader/MetadataLoader.cpp')
0 files changed, 0 insertions, 0 deletions