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)
commitda2b3118651dec437f79fcb850ea50e8a36e653e
tree92dfd9c87ad1666126f0a65b01e3d0d25f662d1b
parent9da9a43af893f9a18f8b69b1b7fa465d6ea6e4c4
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

llvm-svn: 186188
llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
llvm/test/Transforms/LoopVectorize/ARM/gather-cost.ll [new file with mode: 0644]