[CostModel][AArch64] Remove amortization factor for some of the vector select instruc...
authorSilviu Baranga <silviu.baranga@arm.com>
Wed, 9 Sep 2015 15:35:02 +0000 (15:35 +0000)
committerSilviu Baranga <silviu.baranga@arm.com>
Wed, 9 Sep 2015 15:35:02 +0000 (15:35 +0000)
commit076967c8064b62b0b3563af71bc4f570bb37060d
tree8b6f8a35e18ca2e7e0f6878f16d012b756a3870a
parentd096e43858d2174697abc1c8d86ad3eaa2b1a790
[CostModel][AArch64] Remove amortization factor for some of the vector select instructions

Summary:
We are not scalarizing the wide selects in codegen for i16 and i32 and
therefore we can remove the amortization factor. We still have issues
with i64 vectors in codegen though.

Reviewers: mcrosier

Subscribers: mcrosier, aemerson, llvm-commits, rengolin

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@247156 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64TargetTransformInfo.cpp
test/Analysis/CostModel/AArch64/select.ll