- Mar 16, 2004
-
-
Chris Lattner authored
llvm-svn: 12441
-
Chris Lattner authored
http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20040308/013095.html Basically, this patch only updated the immediate dominatees of the header node to tell them that the preheader also dominated them. In practice, ALL dominatees of the header node are also dominated by the preheader. This fixes: LoopSimplify/2004-03-15-IncorrectDomUpdate. and PR293 llvm-svn: 12434
-
- Mar 15, 2004
-
-
Chris Lattner authored
llvm-svn: 12420
-
Chris Lattner authored
sin/cos/strlen calls and stuff. This implements: LICM/call_sink_pure_function.ll LICM/call_sink_const_function.ll llvm-svn: 12415
-
- Mar 14, 2004
-
-
Chris Lattner authored
be non-empty! This fixes LowerSwitch/2004-03-13-SwitchIsDefaultCrash.ll llvm-svn: 12384
-
Chris Lattner authored
loop information won't see it, and we could have unreachable blocks pointing to the non-header node of blocks in a natural loop. This isn't tidy, so have the loopsimplify pass clean it up. llvm-svn: 12380
-
Chris Lattner authored
Fix InstCombine/2004-03-13-InstCombineInfLoop.ll which caused an infinite loop compiling (I think) povray. llvm-svn: 12365
-
- Mar 13, 2004
-
-
Chris Lattner authored
On the testcase from GCC PR12440, which has a LOT of loops (1392 of which require preheaders to be inserted), this speeds up the loopsimplify pass from 1.931s to 0.1875s. The loop in question goes from 1.65s -> 0.0097s, which isn't bad. All of these times are a debug build. This adds a dependency on DominatorTree analysis that was not there before, but we always had dominatortree available anyway, because LICM requires both loop simplify and DT, so this doesn't add any extra analysis in practice. llvm-svn: 12362
-
Chris Lattner authored
llvm-svn: 12355
-
Chris Lattner authored
llvm-svn: 12353
-
- Mar 12, 2004
-
-
Chris Lattner authored
llvm-svn: 12318
-
Chris Lattner authored
llvm-svn: 12317
-
- Mar 07, 2004
-
-
Chris Lattner authored
a zero value is the most likely way to cause further simplification, so we do it. llvm-svn: 12197
-
- Mar 03, 2004
-
-
Chris Lattner authored
llvm-svn: 12086
-
- Mar 01, 2004
-
-
Chris Lattner authored
llvm-svn: 12021
-
- Feb 29, 2004
-
-
Chris Lattner authored
Note that this is a band-aid put over a band-aid. This just undisables tail duplication in on very specific case that it seems to work in. llvm-svn: 11989
-
- Feb 28, 2004
-
-
Chris Lattner authored
Do not just inject a new prototype. llvm-svn: 11951
-
Chris Lattner authored
Create a new AddUsesToWorkList method optimize memmove/set/cpy of zero bytes to a noop. llvm-svn: 11941
-
Chris Lattner authored
llvm-svn: 11940
-
- Feb 27, 2004
-
-
Chris Lattner authored
This is a really minor thing, but might help out the 'switch statement induction' code in simplifycfg. llvm-svn: 11900
-
- Feb 25, 2004
-
-
Chris Lattner authored
llvm-svn: 11821
-
- Feb 24, 2004
-
-
Chris Lattner authored
llvm-svn: 11801
-
- Feb 23, 2004
-
-
Chris Lattner authored
llvm-svn: 11775
-
Chris Lattner authored
llvm-svn: 11774
-
Chris Lattner authored
Also, turn 'shr int %X, 1234' into 'shr int %X, 31' llvm-svn: 11768
-
Chris Lattner authored
llvm-svn: 11742
-
Chris Lattner authored
whether this is the sign bit or not, so check unsigned comparisons as well. llvm-svn: 11740
-
Chris Lattner authored
llvm-svn: 11737
-
Chris Lattner authored
llvm-svn: 11735
-
Chris Lattner authored
with "predication" llvm-svn: 11734
-
- Feb 22, 2004
-
-
Chris Lattner authored
hot 164.gzip loop. llvm-svn: 11702
-
- Feb 16, 2004
-
-
Chris Lattner authored
phi.ll:test4 llvm-svn: 11494
-
Chris Lattner authored
Regression/Transforms/InstCombine/xor.ll:test20 llvm-svn: 11492
-
Chris Lattner authored
llvm-svn: 11490
-
- Feb 15, 2004
-
-
Chris Lattner authored
llvm.setjmp/llvm.longjmp intrinsics. llvm-svn: 11482
-
Chris Lattner authored
llvm-svn: 11474
-
- Feb 13, 2004
-
-
Chris Lattner authored
llvm-svn: 11376
-
- Feb 11, 2004
-
-
Chris Lattner authored
end of the function. llvm-svn: 11313
-
Chris Lattner authored
more of a testcase for profiling information than anything that should reasonably be used, but it's a starting point. When I have more time I will whip this into better shape. llvm-svn: 11311
-
- Feb 09, 2004
-
-
Chris Lattner authored
occurs in the program. llvm-svn: 11249
-