[CostModel][ARM] Increase cost of insert/extract operations
authorSilviu Baranga <silviu.baranga@arm.com>
Mon, 17 Aug 2015 15:57:05 +0000 (15:57 +0000)
committerSilviu Baranga <silviu.baranga@arm.com>
Mon, 17 Aug 2015 15:57:05 +0000 (15:57 +0000)
commit170aefe60c3d53245719ae4437d8572f48e44028
treeece95f24ae76a109176bd5af7a8abceddd834e22
parentd9a2fcb1eb39ca5041cc80ef93a7d9a09b258b94
[CostModel][ARM] Increase cost of insert/extract operations

Summary:
This change limits the minimum cost of an insert/extract
element operation to 2 in cases where this would result
in mixing of NEON and VFP code.

Reviewers: rengolin

Subscribers: mssimpso, aemerson, llvm-commits, rengolin

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

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