diff options
author | Michael Zolotukhin <mzolotukhin@apple.com> | 2015-09-24 03:50:17 +0000 |
---|---|---|
committer | Michael Zolotukhin <mzolotukhin@apple.com> | 2015-09-24 03:50:17 +0000 |
commit | 74621cced742f10c4ba733793757a73d1bd60fa7 (patch) | |
tree | 16b1eb657f542a4158663da92cc4065e2c7ebd08 /lldb/source/Core/ValueObjectMemory.cpp | |
parent | 0c8decd108de8e788b8214f9f5a542236b78b9c5 (diff) | |
download | bcm5719-llvm-74621cced742f10c4ba733793757a73d1bd60fa7.tar.gz bcm5719-llvm-74621cced742f10c4ba733793757a73d1bd60fa7.zip |
Add CFG Simplification pass after Loop Unswitching.
Loop unswitching produces conditional branches with constant condition,
and it's beneficial for later passes to clean this up with simplify-cfg.
We do this after the second invocation of loop-unswitch, but not after
the first one. Not doing so might cause problem for passes like
LoopUnroll, whose estimate of loop body size would be less accurate.
Reviewers: hfinkel
Differential Revision: http://reviews.llvm.org/D13064
llvm-svn: 248460
Diffstat (limited to 'lldb/source/Core/ValueObjectMemory.cpp')
0 files changed, 0 insertions, 0 deletions