ARM cost model: Add cost for gather/scather
authorArnold Schwaighofer <aschwaighofer@apple.com>
Fri, 12 Jul 2013 19:16:04 +0000 (19:16 +0000)
committerArnold Schwaighofer <aschwaighofer@apple.com>
Fri, 12 Jul 2013 19:16:04 +0000 (19:16 +0000)
commit4a1c764264a8908aa041acf12f68cd8bcc2037b1
tree096b496cf413d51391100de1ff9af0fa20a8345c
parentc0a11edba6ea46c782672ab3fb4e4ab3dc267a22
ARM cost model: Add cost for gather/scather

Fixes a 35% degradation compared to unvectorized code in
MiBench/automotive-susan and an equally serious regression on a private
image processing benchmark.

radar://14351991

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186188 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMTargetTransformInfo.cpp
test/Transforms/LoopVectorize/ARM/gather-cost.ll [new file with mode: 0644]