summaryrefslogtreecommitdiff
path: root/tools/opt/GraphPrinters.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-01-02 20:24:21 +0000
committerChris Lattner <sabre@nondot.org>2011-01-02 20:24:21 +0000
commit8e08e73f0e12c9e669f2d7d0a5c9213df3046c01 (patch)
tree298c8885cb38e4ab8aaba9ee935f716e78887f89 /tools/opt/GraphPrinters.cpp
parent80220369b040dd9769e4c4b65d2d018210c3b240 (diff)
downloadllvm-8e08e73f0e12c9e669f2d7d0a5c9213df3046c01.tar.gz
llvm-8e08e73f0e12c9e669f2d7d0a5c9213df3046c01.tar.bz2
llvm-8e08e73f0e12c9e669f2d7d0a5c9213df3046c01.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122711 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/opt/GraphPrinters.cpp')
0 files changed, 0 insertions, 0 deletions