diff options
author | Andrew Trick <atrick@apple.com> | 2012-02-14 00:00:23 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2012-02-14 00:00:23 +0000 |
commit | 10cc45336d5b5fdcb66596a41b8d19de2834ad2f (patch) | |
tree | 3feed9044b49a63bd98c844330d3df95509d8573 /clang/lib/Sema/SemaLambda.cpp | |
parent | a20f1987478df6fa161a72eae21a287fe521fbe8 (diff) | |
download | bcm5719-llvm-10cc45336d5b5fdcb66596a41b8d19de2834ad2f.tar.gz bcm5719-llvm-10cc45336d5b5fdcb66596a41b8d19de2834ad2f.zip |
Add simplifyLoopLatch to LoopRotate pass.
This folds a simple loop tail into a loop latch. It covers the common (in fortran) case of postincrement loops. It's a "free" way to expose this type of loop to downstream loop optimizations that bail out on non-canonical loops (getLoopLatch is a heavily used check).
llvm-svn: 150439
Diffstat (limited to 'clang/lib/Sema/SemaLambda.cpp')
0 files changed, 0 insertions, 0 deletions