]> granicus.if.org Git - llvm/commit
[ARM] Add MVE addressing to isLegalT2AddressImmediate
authorDavid Green <david.green@arm.com>
Sat, 8 Jun 2019 10:18:23 +0000 (10:18 +0000)
committerDavid Green <david.green@arm.com>
Sat, 8 Jun 2019 10:18:23 +0000 (10:18 +0000)
commitf62bbb69090592bc1c1062b62dc2a0febf8ac056
tree0e72f36e6d0ac6406acc6d8b508b4dd8deca204f
parent3ca35d81c10a881d41c33fc8ff3072dc52f1a583
[ARM] Add MVE addressing to isLegalT2AddressImmediate

Now with MVE being added, we can add the vector addressing mode costs for it.
These are generally imm7 multiplied by the size of the type being loaded /
stored.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@362873 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMISelLowering.cpp
test/Analysis/CostModel/ARM/gep.ll