- Aug 07, 2008
-
-
Matthijs Kooijman authored
postfixing it with a number. llvm-svn: 54468
-
Matthijs Kooijman authored
r53941 (but this was not noticed due to the lack of a basic test for SRETPromotion). llvm-svn: 54467
-
Matthijs Kooijman authored
llvm-svn: 54464
-
- Aug 06, 2008
-
-
Dan Gohman authored
when it meant to be emitting undef indices. llvm-svn: 54417
-
Evan Cheng authored
Fix PR2355: bug in ChangeCompareStride. When the loop termination compare is the only use of its iv stride, the stride can be eliminated by moving it to another stride. If the scale is negative, swap the predicate instead of using a inverse predicate. llvm-svn: 54415
-
Chris Lattner authored
llvm-svn: 54408
-
Chris Lattner authored
matters, the result is undefined anyway. llvm-svn: 54396
-
Nick Lewycky authored
tracking down that this was breaking llvm-gcc bootstrap on Linux. llvm-svn: 54394
-
Dan Gohman authored
instead of having it call getIterationCount again. llvm-svn: 54380
-
- Aug 05, 2008
-
-
Bill Wendling authored
looks bogus. Please see PR2629 for details on why this is breaking things. llvm-svn: 54372
-
Dan Gohman authored
llvm-svn: 54350
-
- Aug 01, 2008
-
-
Duncan Sands authored
llvm-svn: 54266
-
- Jul 29, 2008
-
-
Nate Begeman authored
CodeGen & Clang work coming next. llvm-svn: 54161
-
Matthijs Kooijman authored
partially unroll a loop when fully unrolling would not fit under the threshold. Patch by Mikael Lepistö. llvm-svn: 54160
-
Matthijs Kooijman authored
that says "unconditional loads from this argument are safe", we now keep track of the safety per set of indices from which loads happen. This prevents ArgPromotion from promoting loads that aren't really valid. As an added effect, this will now disregard the the type of the indices passed to a GEP, so "load GEP %A, i32 1" and "load GEP %A, i64 1" will result in a single argument, not two. This fixes PR2598, for which a testcase has been added as well. llvm-svn: 54159
-
- Jul 28, 2008
-
-
Owen Anderson authored
llvm-svn: 54144
-
Owen Anderson authored
This fixes PR2599. llvm-svn: 54133
-
- Jul 27, 2008
-
-
Dan Gohman authored
llvm-svn: 54128
-
- Jul 25, 2008
-
-
Dan Gohman authored
command-line option, and disable it by default. It introduced performance regressions because CodeGen is currently not able to remat such loads. llvm-svn: 53997
-
- Jul 23, 2008
-
-
Chris Lattner authored
case for this. This allows instructions like loads from global variables declared to be constant to be moved out of loops." Patch by Stefanus Du Toit! llvm-svn: 53945
-
Dan Gohman authored
Remove the GetResultInst instruction. It is still accepted in LLVM assembly and bitcode, where it is now auto-upgraded to ExtractValueInst. Also, remove support for return instructions with multiple values. These are auto-upgraded to use InsertValueInst instructions. The IRBuilder still accepts multiple-value returns, and auto-upgrades them to InsertValueInst instructions. llvm-svn: 53941
-
- Jul 21, 2008
-
-
Dan Gohman authored
leads into a cycle involving a different PHI, LSR got stuck running around that cycle looking for the original PHI. To avoid this, keep track of visited PHIs and stop searching if we see one more than once. This fixes PR2570. llvm-svn: 53879
-
- Jul 18, 2008
-
-
Duncan Sands authored
llvm-svn: 53771
-
Owen Anderson authored
Make PRE actually handle critical edges (by splitting them). Confirmed that bootstrap passes with this change. llvm-svn: 53762
-
Owen Anderson authored
llvm-svn: 53761
-
Owen Anderson authored
llvm-svn: 53760
-
Dan Gohman authored
llvm-svn: 53757
-
- Jul 17, 2008
-
-
Owen Anderson authored
llvm-svn: 53735
-
Owen Anderson authored
more than once. llvm-svn: 53731
-
Owen Anderson authored
llvm-svn: 53730
-
Matthijs Kooijman authored
llvm-svn: 53716
-
Chris Lattner authored
llvm-svn: 53715
-
Evan Cheng authored
llvm-svn: 53712
-
Owen Anderson authored
llvm-svn: 53705
-
- Jul 16, 2008
-
-
Owen Anderson authored
could cause problems for memdep when it breaks critical edges. llvm-svn: 53691
-
Matthijs Kooijman authored
FindInsertedValue, it now performs a number of simple transformations that should result in the same effect when applied iteratively. llvm-svn: 53673
-
Evan Cheng authored
llvm-svn: 53666
-
- Jul 15, 2008
-
-
Owen Anderson authored
llvm-svn: 53627
-
Owen Anderson authored
llvm-svn: 53616
-
Owen Anderson authored
Have GVN do a pre-pass over the CFG that folds away unconditional branches where possible. This allows local PRE to be more aggressive. llvm-svn: 53615
-