[ARM] Put some of the TTI costmodel behind hasNeon calls.
commitb79014d80b2d345418199e2288af2b50c366c8d3
authorDavid Green <david.green@arm.com>
Mon, 12 Aug 2019 15:59:52 +0000 (12 15:59 +0000)
committerDavid Green <david.green@arm.com>
Mon, 12 Aug 2019 15:59:52 +0000 (12 15:59 +0000)
treea2e072e1179e77be3c7c886369b8bab501fdc248
parentd4c8890067d40d9b835a988ae7243735360f398b
[ARM] Put some of the TTI costmodel behind hasNeon calls.

This puts some of the calls in ARMTargetTransformInfo.cpp behind hasNeon()
checks, now that we have MVE, and updates all the tests accordingly.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@368587 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMTargetTransformInfo.cpp
test/Analysis/CostModel/ARM/arith.ll
test/Analysis/CostModel/ARM/cast.ll
test/Analysis/CostModel/ARM/divrem.ll
test/Analysis/CostModel/ARM/fparith.ll
test/Analysis/CostModel/ARM/load_store.ll
test/Analysis/CostModel/ARM/select.ll
test/Analysis/CostModel/ARM/shuffle.ll