- Mar 28, 2008
-
-
Chris Lattner authored
memsets that initialize "structs of arrays" and other store sequences that are not sequential. This is still only enabled if you pass -form-memset-from-stores. The flag is not heavily tested and I haven't analyzed the perf regressions when -form-memset-from-stores is passed either, but this causes no make check regressions. llvm-svn: 48909
-
- Mar 27, 2008
-
-
Devang Patel authored
Increment iterator in advance. llvm-svn: 48890
-
- Mar 25, 2008
-
-
Evan Cheng authored
Handle a special case xor undef, undef -> 0. Technically this should be transformed to undef. But this is such a common idiom (misuse) we are going to handle it. llvm-svn: 48791
-
- Mar 24, 2008
-
-
Devang Patel authored
llvm-svn: 48738
-
Evan Cheng authored
llvm-svn: 48720
-
Evan Cheng authored
Transform (zext (or (icmp), (icmp))) to (or (zext (cimp), (zext icmp))) if at least one of the (zext icmp) can be transformed to eliminate an icmp. llvm-svn: 48715
-
- Mar 22, 2008
-
-
Chris Lattner authored
This fires dozens of times across spec and multisource, but I don't know if it actually speeds stuff up. Hopefully the testers will show something nice :) llvm-svn: 48680
-
Chris Lattner authored
llvm-svn: 48679
-
Chris Lattner authored
merging optimization. Nothing to see here, hopefully more later :) llvm-svn: 48670
-
Dan Gohman authored
adding <map> to many files that actually do need it. llvm-svn: 48667
-
- Mar 21, 2008
-
-
Chris Lattner authored
llvm-svn: 48662
-
Chris Lattner authored
each basic block. llvm-svn: 48660
-
Chris Lattner authored
llvm-svn: 48658
-
Dan Gohman authored
from their aggregate operands by moving the getresult instructions. llvm-svn: 48657
-
Duncan Sands authored
llvm-svn: 48639
-
Chris Lattner authored
simplify things like (X & 4) >> 1 == 2 --> (X & 4) == 4. since it is obvious that the shift doesn't remove any bits. llvm-svn: 48631
-
- Mar 20, 2008
-
-
Gordon Henriksen authored
Patch by Erick Tryzelaar. llvm-svn: 48602
-
Devang Patel authored
llvm-svn: 48567
-
- Mar 19, 2008
-
-
Evan Cheng authored
llvm-svn: 48556
-
- Mar 18, 2008
-
-
Devang Patel authored
llvm-svn: 48474
-
- Mar 16, 2008
-
-
Gordon Henriksen authored
Patch originally by Erick Tryzelaar, but has been modified somewhat. llvm-svn: 48419
-
- Mar 14, 2008
-
-
Bill Wendling authored
the type instead of the byte size. This was causing troublesome mis-compilations. True to form, this took 2 days to find and is a one-line fix. :-P llvm-svn: 48354
-
- Mar 13, 2008
-
-
Owen Anderson authored
pointer bitcast when performing return slot optimization. llvm-svn: 48343
-
- Mar 12, 2008
-
-
Chris Lattner authored
1. There is now a "PAListPtr" class, which is a smart pointer around the underlying uniqued parameter attribute list object, and manages its refcount. It is now impossible to mess up the refcount. 2. PAListPtr is now the main interface to the underlying object, and the underlying object is now completely opaque. 3. Implementation details like SmallVector and FoldingSet are now no longer part of the interface. 4. You can create a PAListPtr with an arbitrary sequence of ParamAttrsWithIndex's, no need to make a SmallVector of a specific size (you can just use an array or scalar or vector if you wish). 5. All the client code that had to check for a null pointer before dereferencing the pointer is simplified to just access the PAListPtr directly. 6. The interfaces for adding attrs to a list and removing them is a bit simpler. Phase #2 will rename some stuff (e.g. PAListPtr) and do other less invasive changes. llvm-svn: 48289
-
Owen Anderson authored
Improve the return slot optimization to be both more aggressive (not limited to sret parameters), and safer (when the passed pointer might be invalid). Thanks to Duncan and Chris for the idea behind this, and extra thanks to Duncan for helping me work out the trap-safety. llvm-svn: 48280
-
- Mar 11, 2008
-
-
Devang Patel authored
llvm-svn: 48233
-
Devang Patel authored
Right now, the pass does not optimize tail recursions involving multiple return values. llvm-svn: 48228
-
Devang Patel authored
llvm-svn: 48227
-
Devang Patel authored
llvm-svn: 48210
-
- Mar 09, 2008
-
-
Nick Lewycky authored
llvm-svn: 48109
-
Nick Lewycky authored
llvm-svn: 48106
-
Nick Lewycky authored
and also update the cloning interface's major user, the loop optimizations. llvm-svn: 48088
-
- Mar 08, 2008
-
-
Nick Lewycky authored
llvm-svn: 48047
-
- Mar 06, 2008
-
-
Nick Lewycky authored
under modulo (overflow). Fixes PR1933. llvm-svn: 47987
-
- Feb 29, 2008
-
-
Chris Lattner authored
a union containing a vector and an array whose elements were smaller than the vector elements. this means we need to compile the load of the array elements into an extract element plus a truncate. llvm-svn: 47752
-
Chris Lattner authored
functionality change. llvm-svn: 47751
-
Chris Lattner authored
llvm-svn: 47750
-
- Feb 27, 2008
-
-
Owen Anderson authored
in an invalid transformation. llvm-svn: 47639
-
- Feb 26, 2008
-
-
-
Eli Friedman authored
try to simplify them. llvm-svn: 47610
-