OSDN Git Service

[ARM] Do not scale vext with a factor
authorJeroen Ketema <j.ketema@imperial.ac.uk>
Mon, 21 Sep 2015 20:28:04 +0000 (20:28 +0000)
committerJeroen Ketema <j.ketema@imperial.ac.uk>
Mon, 21 Sep 2015 20:28:04 +0000 (20:28 +0000)
commit76e7126dd33b88a51304682c475325952a901ac3
tree0b6c3b90aaead6a0d42da76395e7bb3bfe59603c
parent449957bf42fa17c9f7f5c94bd1c9f8f2505bc594
[ARM] Do not scale vext with a factor

The vext pseudo-instruction takes the number of elements that need to be
extracted, not the number of bytes. Hence, use the number of elements
directly instead of scaling them with a factor.

Reviewers: Silviu Baranga, James Molloy
(not reflected in the differential revision)

Differential Revision: http://reviews.llvm.org/D12974

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@248208 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMISelLowering.cpp
test/CodeGen/ARM/vzip.ll