summaryrefslogtreecommitdiff
path: root/lib/Target/Hexagon/HexagonMachineScheduler.cpp
diff options
context:
space:
mode:
authorNadav Rotem <nrotem@apple.com>2013-03-02 01:33:49 +0000
committerNadav Rotem <nrotem@apple.com>2013-03-02 01:33:49 +0000
commit5290baacb8ca4fb75d798e873a441cad11cbfb2c (patch)
tree25909512c21f2b3608f62052422fd3a0fbd5d1a6 /lib/Target/Hexagon/HexagonMachineScheduler.cpp
parent328d1b65002e68ae65ffef05eed19122cbf721f5 (diff)
downloadllvm-5290baacb8ca4fb75d798e873a441cad11cbfb2c.tar.gz
llvm-5290baacb8ca4fb75d798e873a441cad11cbfb2c.tar.bz2
llvm-5290baacb8ca4fb75d798e873a441cad11cbfb2c.tar.xz
PR14448 - prevent the loop vectorizer from vectorizing the same loop twice.
The LoopVectorizer often runs multiple times on the same function due to inlining. When this happens the loop vectorizer often vectorizes the same loops multiple times, increasing code size and adding unneeded branches. With this patch, the vectorizer during vectorization puts metadata on scalar loops and marks them as 'already vectorized' so that it knows to ignore them when it sees them a second time. PR14448. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176399 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Hexagon/HexagonMachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions