llvm-6502/lib/Transforms
Chris Lattner d9c3a0d7cc Various passes before isel split edges and do other CFG-restructuring changes.
isel has its own particular features that it wants in the CFG, in order to
reduce the number of times a constant is computed, etc.  Make sure that we
clean up the CFG before doing any other things for isel.  Doing so can
dramatically reduce the number of split edges and reduce the number of
places that constants get computed.  For example, this shrinks
CodeGen/Generic/phi-immediate-factoring.ll from 44 to 37 instructions on X86,
and from 21 to 17 MBB's in the output.  This is primarily a code size win,
not a performance win.

This implements CodeGen/Generic/phi-immediate-factoring.ll and PR1296.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35575 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-02 01:35:34 +00:00
..
Hello eliminate static ctor from example. 2006-12-19 22:24:09 +00:00
Instrumentation remove reoptimizer-specific passes 2007-02-20 05:31:49 +00:00
IPO Unbreak VC++ build. 2007-03-05 00:00:42 +00:00
Scalar Various passes before isel split edges and do other CFG-restructuring changes. 2007-04-02 01:35:34 +00:00
Utils Reduce malloc/free traffic. 2007-03-26 23:19:29 +00:00
Makefile For PR1072: 2007-02-03 23:15:56 +00:00