[CostModel][AArch64] Increase cost of vector insert element and add missing cast...
authorSilviu Baranga <silviu.baranga@arm.com>
Mon, 17 Aug 2015 16:05:09 +0000 (16:05 +0000)
committerSilviu Baranga <silviu.baranga@arm.com>
Mon, 17 Aug 2015 16:05:09 +0000 (16:05 +0000)
commit1127a30ffed10b2434dc44abb51c21847ab6f8fd
treec6359cf90e14868c39e649480de5dc4affac089d
parent170aefe60c3d53245719ae4437d8572f48e44028
[CostModel][AArch64] Increase cost of vector insert element and add missing cast costs

Summary:
Increase the estimated costs for insert/extract element operations on
AArch64. This is motivated by results from benchmarking interleaved
accesses.

Add missing costs for zext/sext/trunc instructions and some integer to
floating point conversions. These costs were previously calculated
by scalarizing these operation and were affected by the cost increase of
the insert/extract element operations.

Reviewers: rengolin

Subscribers: mcrosier, aemerson, rengolin, llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@245226 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64TargetTransformInfo.cpp
test/Transforms/SLPVectorizer/AArch64/commute.ll