- Nov 10, 2009
-
-
Chris Lattner authored
llvm-svn: 86635
-
Chris Lattner authored
simplification, this handles the foldable fcmp x,x cases among many others. llvm-svn: 86627
-
Chris Lattner authored
llvm-svn: 86625
-
Chris Lattner authored
Simplify[IF]Cmp pieces. Add some predicates to CmpInst to determine whether a predicate is fp or int. llvm-svn: 86624
-
Chris Lattner authored
llvm-svn: 86616
-
- Nov 09, 2009
-
-
Chris Lattner authored
simplifies instruction users of PHIs when the phi is eliminated. This will be moved to transforms/utils after some other refactoring. llvm-svn: 86603
-
Chris Lattner authored
it to a normal binop. Patch by Alastair Lynn, testcase by me. llvm-svn: 86524
-
Chris Lattner authored
putchar in case there is an error. llvm-svn: 86515
-
Chris Lattner authored
used by a chain of other PHIs. llvm-svn: 86503
-
Owen Anderson authored
llvm-svn: 86499
-
Owen Anderson authored
here: 1) We need to avoid processing sigma nodes as phi nodes for constraint generation. 2) We need to generate constraints for comparisons against constants properly. This includes our first working ABCD test! llvm-svn: 86498
-
Chris Lattner authored
llvm-svn: 86497
-
- Nov 08, 2009
-
-
Owen Anderson authored
graphs being produced. The cause was that we were incorrectly marking sigma instructions as processed after handling the sigma-specific constraints for them, potentially neglecting to process them as normal instructions as well. Unfortunately, the testcase that inspired this still doesn't work because of a bug in the solver, which is next on the list to debug. llvm-svn: 86486
-
Chris Lattner authored
when both the source and dest are illegal types, since it would cause the phi to grow (for example, we shouldn't transform test14b's phi to a phi on i320). This fixes an infinite loop on i686 bootstrap with phi slicing turned on, so turn it back on. llvm-svn: 86483
-
Chris Lattner authored
(SliceUpIllegalIntegerPHI) disabled. llvm-svn: 86480
-
Daniel Dunbar authored
llvm-gcc bootstrap. llvm-svn: 86478
-
Chris Lattner authored
not turn a PHI in a legal type into a PHI of an illegal type, and add a new optimization that breaks up insane integer PHI nodes into small pieces (PR3451). llvm-svn: 86443
-
- Nov 07, 2009
-
-
Nick Lewycky authored
llvm-svn: 86403
-
Chris Lattner authored
(eliminating some extends) if the new type of the computation is legal or if both the source and dest are illegal. This prevents instcombine from changing big chains of computation into i64 on 32-bit targets for example. llvm-svn: 86398
-
Chris Lattner authored
llvm-gcc-i386-darwin9 build bot. llvm-svn: 86391
-
Nick Lewycky authored
a store. llvm-svn: 86359
-
Chris Lattner authored
(making pred factoring only happen if threading is guaranteed to be successful). This now survives an X86-64 bootstrap of llvm-gcc. llvm-svn: 86355
-
Nick Lewycky authored
things. Back out part of r86349 for a moment. llvm-svn: 86353
-
Nick Lewycky authored
and add a .ll to demo the new capability. llvm-svn: 86349
-
Devang Patel authored
86289, 86278, 86270, 86267, 86266 & 86264 Chris, please take a look. llvm-svn: 86321
-
Jeffrey Yasskin authored
llvm-svn: 86314
-
Chris Lattner authored
set only once even if it has multiple edges to BB. llvm-svn: 86299
-
- Nov 06, 2009
-
-
Eli Friedman authored
llvm-svn: 86289
-
Chris Lattner authored
llvm-svn: 86278
-
Chris Lattner authored
llvm-svn: 86270
-
Chris Lattner authored
llvm-svn: 86267
-
Chris Lattner authored
llvm-svn: 86266
-
Chris Lattner authored
predicates. This allows us to jump thread things like: _ZN12StringSwitchI5ColorE4CaseILj7EEERS1_RAT__KcRKS0_.exit119: %tmp1.i24166 = phi i8 [ 1, %bb5.i117 ], [ %tmp1.i24165, %_Z....exit ], [ %tmp1.i24165, %bb4.i114 ] %toBoolnot.i87 = icmp eq i8 %tmp1.i24166, 0 ; <i1> [#uses=1] %tmp4.i90 = icmp eq i32 %tmp2.i, 6 ; <i1> [#uses=1] %or.cond173 = and i1 %toBoolnot.i87, %tmp4.i90 ; <i1> [#uses=1] br i1 %or.cond173, label %bb4.i96, label %_ZN12... Where it is "obvious" that when coming from %bb5.i117 that the 'and' is always false. This triggers a surprisingly high number of times in the testsuite, and gets us closer to generating good code for doug's strswitch testcase. This also make a bunch of other code in jump threading redundant, I'll rip out in the next patch. This survived an enable-checking llvm-gcc bootstrap. llvm-svn: 86264
-
Chris Lattner authored
llvm-svn: 86235
-
Chris Lattner authored
from various APIs, addressing PR5325. llvm-svn: 86231
-
Dan Gohman authored
llvm-svn: 86193
-
- Nov 05, 2009
-
-
Dan Gohman authored
llvm-svn: 86180
-
Dan Gohman authored
LoopSimplify form may not be available. llvm-svn: 86175
-
Dan Gohman authored
LoopPassManager for it. llvm-svn: 86163
-
Benjamin Kramer authored
llvm-svn: 86141
-