summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2014-03-25 02:18:47 +0000
committerAndrew Trick <atrick@apple.com>2014-03-25 02:18:47 +0000
commitc8ac7ea2614477ce9d173b3391fa1b14073d62cc (patch)
tree8235609e9e05165ca08ad0a31042a6372712a953 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parentb9fe0dd7818c4c4be23ec8a5b1bdddca690abac9 (diff)
downloadbcm5719-llvm-c8ac7ea2614477ce9d173b3391fa1b14073d62cc.tar.gz
bcm5719-llvm-c8ac7ea2614477ce9d173b3391fa1b14073d62cc.zip
SLP vectorizer: Don't hoist vector extracts of phis.
Extracts coming from phis were being hoisted, while all others were sunk to their uses. This was inconsistent and didn't seem to serve a purpose. Changing all extracts to be sunk to uses is a prerequisite for adding block frequency to the SLP vectorizer's cost model. I benchmarked the change in isolation (without block frequency). I only saw noise on x86 and some potentially significant improvements on ARM. No major regressions is good enough for me. llvm-svn: 204699
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud