]> granicus.if.org Git - llvm/commit
[AArch64] Skip isZIPMask check for masks with an odd number of elements.
authorFlorian Hahn <flo@fhahn.com>
Mon, 5 Aug 2019 11:12:23 +0000 (11:12 +0000)
committerFlorian Hahn <flo@fhahn.com>
Mon, 5 Aug 2019 11:12:23 +0000 (11:12 +0000)
commit1b9dd625a5fe458fd86e4e2783e98c565ba110ca
treec457bf64226930c4946ba97b42f97c9a91b4b5f0
parent0845c69be924c13fbd9af4c09d8b10ccbc781d59
[AArch64] Skip isZIPMask check for masks with an odd number of elements.

We process 2 elements at a time and expect the number of elements to be
even. Similar to D60690.

Reviewers: dmgreen, samparker, t.p.northover

Reviewed By: dmgreen

Differential Revision: https://reviews.llvm.org/D65400

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@367831 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64ISelLowering.cpp
test/CodeGen/AArch64/arm64-neon-vector-shuffle-extract.ll