diff options
author | Andrew Trick <atrick@apple.com> | 2014-03-25 02:18:47 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2014-03-25 02:18:47 +0000 |
commit | c8ac7ea2614477ce9d173b3391fa1b14073d62cc (patch) | |
tree | 8235609e9e05165ca08ad0a31042a6372712a953 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | b9fe0dd7818c4c4be23ec8a5b1bdddca690abac9 (diff) | |
download | bcm5719-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