llvm-6502/lib/Transforms
Chris Lattner fddcf47a24 make jump threading recursively simplify expressions instead of doing it
just one level deep.  On the testcase we go from getting this:

F1:                                               ; preds = %T2
  %F = and i1 true, %cond                         ; <i1> [#uses=1]
  br i1 %F, label %X, label %Y

to a fully threaded:

F1:                                               ; preds = %T2
  br label %Y


This changes gets us to the point where we're forming (too many) switch 
instructions on doug's strswitch testcase.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86646 91177308-0d34-0410-b5e6-96231b3b80d8
2009-11-10 01:57:31 +00:00
..
Hello Use raw_ostream::write_escaped instead of EscapeString. 2009-10-17 20:43:19 +00:00
Instrumentation Remove includes of Support/Compiler.h that are no longer needed after the 2009-10-25 06:57:41 +00:00
IPO - new SROA mallocs should have the mallocs running-or'ed, not the malloc's bitcast 2009-11-07 00:41:19 +00:00
Scalar make jump threading recursively simplify expressions instead of doing it 2009-11-10 01:57:31 +00:00
Utils fix ConstantFoldCompareInstOperands to take the LHS/RHS as 2009-11-09 23:06:58 +00:00
Makefile The attached patches attempt to fix cross builds. For example, if you 2009-08-18 00:40:33 +00:00