- Jul 11, 2008
-
-
Nick Lewycky authored
llvm-svn: 53454
-
Nick Lewycky authored
llvm-svn: 53452
-
Nick Lewycky authored
similar. llvm-svn: 53451
-
Chris Lattner authored
llvm-svn: 53449
-
Chris Lattner authored
llvm-svn: 53448
-
Chris Lattner authored
llvm-svn: 53447
-
Chris Lattner authored
the min/max values for an integer type, compare against the min/max values we can prove contain the input. This might be a tighter bound, so this is general goodness. llvm-svn: 53446
-
Chris Lattner authored
handle them in some code. llvm-svn: 53445
-
Chris Lattner authored
was using the algorithm for folding unsigned comparisons which is completely wrong. This has been broken since the signless types change. llvm-svn: 53444
-
Chris Lattner authored
This cause a regression in InstCombine/JavaCompare, which was doing the right thing on accident. To handle the missed case, generalize the comparisons based on masked bits a little bit to handle comparisons against the max value. For example, we can now xform (slt i32 (and X, 4), 4) -> (setne i32 (and X, 4), 4) llvm-svn: 53443
-
- Jul 10, 2008
-
-
Matthijs Kooijman authored
Rewrite the DeadArgumentElimination pass, to use a more explicit tracking of dependencies between return values and/or arguments. Also make the handling of arguments and return values the same. The pass now looks properly inside returned structs, but only at the first level (ie, not inside nested structs). This version fixed a few more bugs and was cleaned up a bit. It now passes all of LLVM's testing, and should still pass SPEC2006. There is still a minor bug with regard to returning nested structs. Since there is currently nothing that emits such IR, I will fix that in a seperate commit (partly because it requires a non-trivial fix). llvm-svn: 53400
-
Nick Lewycky authored
llvm-svn: 53393
-
- Jul 09, 2008
-
-
Nick Lewycky authored
llvm-svn: 53283
-
Nick Lewycky authored
llvm-svn: 53282
-
Nick Lewycky authored
llvm-svn: 53276
-
Nick Lewycky authored
llvm-svn: 53271
-
Devang Patel authored
llvm-svn: 53265
-
- Jul 08, 2008
-
-
Chris Lattner authored
into phis. This is actually the same bug as PR2262 / 2008-04-29-VolatileLoadDontMerge.ll, but I missed checking the first predecessor for multiple successors. Testcase here: InstCombine/2008-07-08-VolatileLoadMerge.ll llvm-svn: 53240
-
- Jul 07, 2008
-
-
Evan Cheng authored
1. LSR runOnLoop is always returning false regardless if any transformation is made. 2. AddUsersIfInteresting can create new instructions that are added to DeadInsts. But there is a later early exit which prevents them from being freed. llvm-svn: 53193
-
Dan Gohman authored
llvm-svn: 53177
-
- Jul 05, 2008
-
-
Nick Lewycky authored
llvm-svn: 53151
-
- Jul 03, 2008
-
-
Owen Anderson authored
Use information already present in the ValueTable to fast-fail when we know there won't be a value number match. This speeds up GVN on a case where there are very few redundancies by ~25%. llvm-svn: 53108
-
Devang Patel authored
Do not try to update dominator info while manipulating CFG. This code does not handle all cases and keeps invalid dom info around some cases, which misleads other passes down stream. Right now, dom info is recaluclated in the end if the loop is switched. llvm-svn: 53106
-
Owen Anderson authored
Remove the ability for ADCE to remove unreachable blocks in loop nests, because, as Eli pointed out, SimplifyCFG already does this. llvm-svn: 53104
-
Bill Wendling authored
llvm-svn: 53090
-
Devang Patel authored
llvm-svn: 53089
-
Devang Patel authored
llvm-svn: 53087
-
Devang Patel authored
llvm-svn: 53086
-
Devang Patel authored
llvm-svn: 53085
-
Devang Patel authored
llvm-svn: 53062
-
Devang Patel authored
llvm-svn: 53052
-
- Jul 02, 2008
-
-
Owen Anderson authored
Also, move large sets and vectors out of instance variables and onto the stack, and give them more reasonable sizes. llvm-svn: 53044
-
Owen Anderson authored
llvm-svn: 53040
-
Owen Anderson authored
part of PR2509. llvm-svn: 53038
-
Owen Anderson authored
with a huge "size" parameter is actually quite inefficient. llvm-svn: 53034
-
Owen Anderson authored
llvm-svn: 53032
-
Devang Patel authored
llvm-svn: 53007
-
Devang Patel authored
llvm-svn: 53006
-
Devang Patel authored
Keep track of currentLoop. llvm-svn: 53005
-
- Jun 30, 2008
-
-
Evan Cheng authored
- Re-apply 52748 and friends with fix. GetConstantStringInfo() returns an empty string for ConstantAggregateZero case which surprises selectiondag. - Correctly handle memcpy from constant string which is zero-initialized. llvm-svn: 52891
-