- Nov 22, 2005
-
-
Andrew Lenharth authored
llvm-svn: 24488
-
Andrew Lenharth authored
llvm-svn: 24487
-
- Nov 18, 2005
-
-
Chris Lattner authored
half the problem. llvm-svn: 24414
-
Chris Lattner authored
has a single def. In this case, look for uses that are dominated by the def and attempt to rewrite them to directly use the stored value. This speeds up mem2reg on these values and reduces the number of phi nodes inserted. This should address PR665. llvm-svn: 24411
-
Chris Lattner authored
llvm-svn: 24410
-
- Nov 17, 2005
-
-
Chris Lattner authored
compiling mysql reported by Ted Kremenek. llvm-svn: 24402
-
- Nov 10, 2005
-
-
Andrew Lenharth authored
llvm-svn: 24288
-
Andrew Lenharth authored
llvm-svn: 24270
-
Andrew Lenharth authored
Reg2Mem for fun you can opt -reg2mem -mem2reg llvm-svn: 24267
-
- Nov 05, 2005
-
-
Nate Begeman authored
Add support for specifying alignment and size of setjmp jmpbufs. No targets currently do anything with this information, nor is it presrved in the bytecode representation. That's coming up next. llvm-svn: 24196
-
Chris Lattner authored
that has been sitting in my inbox since May 18. :) llvm-svn: 24194
-
Chris Lattner authored
a few times in crafty: OLD: %tmp.36 = div int %tmp.35, 8 ; <int> [#uses=1] NEW: %tmp.36 = div uint %tmp.35, 8 ; <uint> [#uses=0] OLD: %tmp.19 = div int %tmp.18, 8 ; <int> [#uses=1] NEW: %tmp.19 = div uint %tmp.18, 8 ; <uint> [#uses=0] OLD: %tmp.117 = div int %tmp.116, 8 ; <int> [#uses=1] NEW: %tmp.117 = div uint %tmp.116, 8 ; <uint> [#uses=0] OLD: %tmp.92 = div int %tmp.91, 8 ; <int> [#uses=1] NEW: %tmp.92 = div uint %tmp.91, 8 ; <uint> [#uses=0] Which all turn into shrs. llvm-svn: 24190
-
Chris Lattner authored
8 times in vortex, allowing the srems to be turned into shrs: OLD: %tmp.104 = rem int %tmp.5.i37, 16 ; <int> [#uses=1] NEW: %tmp.104 = rem uint %tmp.5.i37, 16 ; <uint> [#uses=0] OLD: %tmp.98 = rem int %tmp.5.i24, 16 ; <int> [#uses=1] NEW: %tmp.98 = rem uint %tmp.5.i24, 16 ; <uint> [#uses=0] OLD: %tmp.91 = rem int %tmp.5.i19, 8 ; <int> [#uses=1] NEW: %tmp.91 = rem uint %tmp.5.i19, 8 ; <uint> [#uses=0] OLD: %tmp.88 = rem int %tmp.5.i14, 8 ; <int> [#uses=1] NEW: %tmp.88 = rem uint %tmp.5.i14, 8 ; <uint> [#uses=0] OLD: %tmp.85 = rem int %tmp.5.i9, 1024 ; <int> [#uses=2] NEW: %tmp.85 = rem uint %tmp.5.i9, 1024 ; <uint> [#uses=0] OLD: %tmp.82 = rem int %tmp.5.i, 512 ; <int> [#uses=2] NEW: %tmp.82 = rem uint %tmp.5.i1, 512 ; <uint> [#uses=0] OLD: %tmp.48.i = rem int %tmp.5.i.i161, 4 ; <int> [#uses=1] NEW: %tmp.48.i = rem uint %tmp.5.i.i161, 4 ; <uint> [#uses=0] OLD: %tmp.20.i2 = rem int %tmp.5.i.i, 4 ; <int> [#uses=1] NEW: %tmp.20.i2 = rem uint %tmp.5.i.i, 4 ; <uint> [#uses=0] it also occurs 9 times in gcc, but with odd constant divisors (1009 and 61) so the payoff isn't as great. llvm-svn: 24189
-
- Nov 02, 2005
-
-
Andrew Lenharth authored
llvm-svn: 24158
-
- Oct 31, 2005
-
-
Chris Lattner authored
bad cases. This fixes Markus's second testcase in PR639, and should seal it for good. llvm-svn: 24123
-
- Oct 29, 2005
-
-
Chris Lattner authored
infrastructure and the simple isels have been removed. llvm-svn: 24090
-
Chris Lattner authored
llvm-svn: 24083
-
Chris Lattner authored
llvm-svn: 24082
-
Chris Lattner authored
This allows us to turn code like malloc(4*x+4) -> malloc int, (x+1) llvm-svn: 24081
-
Chris Lattner authored
change. llvm-svn: 24076
-
- Oct 28, 2005
-
-
Chris Lattner authored
llvm-svn: 24056
-
- Oct 27, 2005
-
-
Chris Lattner authored
PR640 llvm-svn: 24046
-
Chris Lattner authored
llvm-svn: 24044
-
John Criswell authored
into the LLVMAnalysis library. This allows LLVMTranform and LLVMTransformUtils to be archives and linked with LLVMAnalysis.a, which provides any missing definitions. llvm-svn: 24036
-
Chris Lattner authored
llvm-svn: 24033
-
Chris Lattner authored
into: malloc int, (2*X) llvm-svn: 24032
-
Chris Lattner authored
(malloc [25 x int]) directly without having to convert to (malloc [100 x sbyte]) first. llvm-svn: 24031
-
Chris Lattner authored
llvm-svn: 24030
-
- Oct 26, 2005
-
-
John Criswell authored
SparcV9 JIT. 2. Make LLVMTransformUtils a relinked object file and always link it before LLVMAnalysis.a. These two libraries have circular dependencies on each other which creates problem when building the SparcV9 JIT. This change fixes the dependency on all platforms problems with a minimum of fuss. llvm-svn: 24023
-
Chris Lattner authored
fixes a very slow compile in PR639. llvm-svn: 24011
-
Jeff Cohen authored
llvm-svn: 23998
-
- Oct 25, 2005
-
-
Alkis Evlogimenos authored
llvm-svn: 23973
-
- Oct 24, 2005
-
-
Chris Lattner authored
one use (but one is a cast). This handles the very common case of: X = alloc [n x byte] Y = cast X to somethingbetter seteq X, null In order to avoid infinite looping when there are multiple casts, we only allow this if the xform is strictly increasing the alignment of the allocation. llvm-svn: 23961
-
Chris Lattner authored
where the second has less alignment required. If we had explicit alignment support in the IR, we could handle this case, but we can't until we do. llvm-svn: 23960
-
Chris Lattner authored
more effective at promoting these allocations, catching them earlier in the compile process. llvm-svn: 23959
-
Chris Lattner authored
llvm-svn: 23958
-
Chris Lattner authored
llvm-svn: 23944
-
Chris Lattner authored
llvm-svn: 23943
-
Chris Lattner authored
llvm-svn: 23940
-
Chris Lattner authored
This should speed up build times. llvm-svn: 23933
-