llvm-project/llvm/lib/Transforms
Michael Zolotukhin 74621cced7 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
2015-09-24 03:50:17 +00:00
..
Hello Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
IPO Add CFG Simplification pass after Loop Unswitching. 2015-09-24 03:50:17 +00:00
InstCombine [InstCombine] Preserve metadata when merging loads that are phi 2015-09-23 18:40:57 +00:00
Instrumentation [safestack] Fix compiler crash in the presence of stack restores. 2015-09-24 01:23:51 +00:00
ObjCARC [PM/AA] Rebuild LLVM's alias analysis infrastructure in a way compatible 2015-09-09 17:55:00 +00:00
Scalar Swap loop invariant GEP with loop variant GEP to allow more LICM. 2015-09-23 19:25:30 +00:00
Utils [Unroll] When completely unrolling the loop, replace conditinal branches with unconditional. 2015-09-23 23:12:43 +00:00
Vectorize [SCEV] Introduce ScalarEvolution::getOne and getZero. 2015-09-23 01:59:04 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile