- Apr 15, 2004
-
-
Chris Lattner authored
the back-edge block, we must check the preincremented value. llvm-svn: 12968
-
Brian Gaeke authored
llvm-svn: 12967
-
Misha Brukman authored
@parameter line documentation that way, too. llvm-svn: 12966
-
Misha Brukman authored
llvm-svn: 12965
-
Misha Brukman authored
llvm-svn: 12964
-
Misha Brukman authored
llvm-svn: 12963
-
Misha Brukman authored
llvm-svn: 12962
-
Chris Lattner authored
Instead of producing code like this: Loop: X = phi 0, X2 ... X2 = X + 1 if (X != N-1) goto Loop We now generate code that looks like this: Loop: X = phi 0, X2 ... X2 = X + 1 if (X2 != N) goto Loop This has two big advantages: 1. The trip count of the loop is now explicit in the code, allowing the direct implementation of Loop::getTripCount() 2. This reduces register pressure in the loop, and allows X and X2 to be put into the same register. As a consequence of the second point, the code we generate for loops went from: .LBB2: # no_exit.1 ... mov %EDI, %ESI inc %EDI cmp %ESI, 2 mov %ESI, %EDI jne .LBB2 # PC rel: no_exit.1 To: .LBB2: # no_exit.1 ... inc %ESI cmp %ESI, 3 jne .LBB2 # PC rel: no_exit.1 ... which has two fewer moves, and uses one less register. llvm-svn: 12961
-
Chris Lattner authored
llvm-svn: 12960
-
Chris Lattner authored
llvm-svn: 12959
-
Chris Lattner authored
llvm-svn: 12958
-
Chris Lattner authored
llvm-svn: 12957
-
Chris Lattner authored
llvm-svn: 12956
-
Chris Lattner authored
insert it once! llvm-svn: 12955
-
- Apr 14, 2004
-
-
John Criswell authored
The iterator is pointing at the next instruction which should not disappear when doing the load/store replacement. llvm-svn: 12954
-
Brian Gaeke authored
llvm-svn: 12953
-
Chris Lattner authored
at the bottom of the loop instead of the top. This reduces the number of overlapping live ranges a lot, for example, eliminating a spill in an important loop in 183.equake with linear scan. I still need to make the exit comparison of the loop use the post-incremented version of this variable, but this is an easy first step. llvm-svn: 12952
-
Brian Gaeke authored
This should unbreak the Sparc JIT again. llvm-svn: 12949
-
Brian Gaeke authored
llvm-svn: 12948
-
Chris Lattner authored
Make autoconf default to checking to look to see if our funny directory exists llvm-svn: 12947
-
Chris Lattner authored
llvm-svn: 12946
-
John Criswell authored
functions and is not needed here. Simplify the pointer type check per Chris's suggestions. llvm-svn: 12945
-
John Criswell authored
that matches its return type. llvm-svn: 12944
-
John Criswell authored
llvm-svn: 12943
-
John Criswell authored
Sorry these didn't get in yesterday. llvm-svn: 12942
-
Chris Lattner authored
llvm-svn: 12940
-
Chris Lattner authored
even when the "optimization" I added before is turned off. It generates this extremely pointless code: test: fld QWORD PTR [%ESP + 4] mov %AL, 0 test %AL, %AL fcmove %ST(0), %ST(0) ret Good thing the optimizer will have removed this before code generation anyway. :) llvm-svn: 12939
-
Chris Lattner authored
Temporarily hack in the intrinsics that John added. I expect him to finish up their addition, but in the meantime, the build should not be broken. llvm-svn: 12938
-
John Criswell authored
On x86, memory operations occur in-order, so these are just lowered into volatile loads and stores. llvm-svn: 12936
-
- Apr 13, 2004
-
-
Chris Lattner authored
X86/2004-04-13-FPCMOV-Crash.llx A more robust fix is to follow. llvm-svn: 12935
-
Chris Lattner authored
llvm-svn: 12934
-
Chris Lattner authored
llvm-svn: 12932
-
Chris Lattner authored
llvm-svn: 12929
-
Chris Lattner authored
llvm-svn: 12928
-
Chris Lattner authored
llvm-svn: 12927
-
Chris Lattner authored
Here is a simple minimal program that does what we want. Instead of taking minutes to compare mesa's output, and crashing on binary files (like spiff does), this take < .02s in the common case and doesn't crash. llvm-svn: 12926
-
Chris Lattner authored
llvm-svn: 12922
-
Chris Lattner authored
test/Regression/Transforms/SCCP/calltest.ll llvm-svn: 12921
-
Chris Lattner authored
llvm-svn: 12920
-
Chris Lattner authored
llvm-svn: 12919
-