- Dec 05, 2008
-
-
Dale Johannesen authored
loops when they can be subsumed into addressing modes. Change X86 addressing mode check to realize that some PIC references need an extra register. (I believe this is correct for Linux, if not, I'm sure someone will tell me.) llvm-svn: 60608
-
- Dec 03, 2008
-
-
Dale Johannesen authored
llvm-svn: 60508
-
Dale Johannesen authored
llvm-svn: 60506
-
Dale Johannesen authored
llvm-svn: 60494
-
- Dec 02, 2008
-
-
Dale Johannesen authored
llvm-svn: 60442
-
Dale Johannesen authored
llvm-svn: 60431
-
Chris Lattner authored
llvm-svn: 60395
-
- Dec 01, 2008
-
-
Dale Johannesen authored
figuring out the base of the IV. This produces better code in the example. (Addresses use (IV) instead of (BASE,IV) - a significant improvement on low-register machines like x86). llvm-svn: 60374
-
Chris Lattner authored
instead of std::sort. This shrinks the release-asserts LSR.o file by 1100 bytes of code on my system. We should start using array_pod_sort where possible. llvm-svn: 60335
-
Chris Lattner authored
This is a lot cheaper and conceptually simpler. llvm-svn: 60332
-
Chris Lattner authored
DeadInsts ivar, just use it directly. llvm-svn: 60330
-
Chris Lattner authored
buggy rewrite, this notifies ScalarEvolution of a pending instruction about to be removed and then erases it, instead of erasing it then notifying. llvm-svn: 60329
-
- Nov 29, 2008
-
-
Bill Wendling authored
llvm-svn: 60233
-
- Nov 28, 2008
-
-
Chris Lattner authored
making it use RecursivelyDeleteTriviallyDeadInstructions to do the heavy lifting. llvm-svn: 60195
-
Chris Lattner authored
llvm-svn: 60192
-
- Oct 23, 2008
-
-
Daniel Dunbar authored
LoopPass*. - Although less precise, this means they can be used in clients without RTTI (who would otherwise need to include LoopPass.h, which eventually includes things using dynamic_cast). This was the simplest solution that presented itself, but I am happy to use a better one if available. llvm-svn: 58010
-
- Oct 01, 2008
-
-
Dan Gohman authored
instruction, not after. This fixes some uses of free'd memory. llvm-svn: 56908
-
- Sep 15, 2008
-
-
Dan Gohman authored
cases. See the comment above OptimizeSMax for the full story, and the testcase for an example. This cancels out a pessimization commonly attributed to indvars, and will allow us to lift some of the artificial throttles in indvars, rather than add new ones. llvm-svn: 56230
-
- Sep 09, 2008
-
-
Devang Patel authored
llvm-svn: 56011
-
- Sep 08, 2008
-
-
Devang Patel authored
llvm-svn: 55924
-
Devang Patel authored
llvm-svn: 55913
-
- Sep 04, 2008
-
-
Dan Gohman authored
llvm-svn: 55779
-
- Sep 03, 2008
-
-
Devang Patel authored
llvm-svn: 55682
-
Devang Patel authored
llvm-svn: 55680
-
Devang Patel authored
llvm-svn: 55678
-
Devang Patel authored
llvm-svn: 55674
-
- Aug 27, 2008
-
-
Devang Patel authored
llvm-svn: 55433
-
Devang Patel authored
llvm-svn: 55424
-
- Aug 26, 2008
-
-
Devang Patel authored
llvm-svn: 55374
-
- Aug 17, 2008
-
-
Evan Cheng authored
llvm-svn: 54878
-
- Aug 15, 2008
-
-
Devang Patel authored
llvm-svn: 54821
-
Evan Cheng authored
llvm-svn: 54813
-
- Aug 14, 2008
-
-
Devang Patel authored
llvm-svn: 54786
-
- Aug 13, 2008
-
-
Devang Patel authored
llvm-svn: 54754
-
Devang Patel authored
llvm-svn: 54710
-
- Aug 06, 2008
-
-
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
-
- 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 14, 2008
-
-
Dan Gohman authored
llvm-svn: 53564
-
- 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
-
- Jun 24, 2008
-
-
Dan Gohman authored
llvm-svn: 52648
-