diff options
author | Chris Lattner <sabre@nondot.org> | 2011-01-02 20:24:21 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2011-01-02 20:24:21 +0000 |
commit | 5702a43c094c5b81d3ec9dc81c5a365e8babd33e (patch) | |
tree | 0b0225d6df5a63c313644dc49159d8628356fdb3 /llvm/lib/Transforms/Scalar/EarlyCSE.cpp | |
parent | 25e6e06e423a14626bf7d650367a07c3c21e08a8 (diff) | |
download | bcm5719-llvm-5702a43c094c5b81d3ec9dc81c5a365e8babd33e.tar.gz bcm5719-llvm-5702a43c094c5b81d3ec9dc81c5a365e8babd33e.zip |
If a loop iterates exactly once (has backedge count = 0) then don't
mess with it. We'd rather peel/unroll it than convert all of its
stores into memsets.
llvm-svn: 122711
Diffstat (limited to 'llvm/lib/Transforms/Scalar/EarlyCSE.cpp')
0 files changed, 0 insertions, 0 deletions