- Apr 21, 2008
-
-
Owen Anderson authored
and simplify code that was fallout from the separation of memcpyopt and gvn. llvm-svn: 50034
-
- Apr 20, 2008
-
-
Chris Lattner authored
llvm-svn: 49971
-
- Apr 16, 2008
-
-
Owen Anderson authored
from transforming loops and adding a separate loop pass for removing loops with know trip counts. Until that happens, ADCE is miscompiling this code. llvm-svn: 49769
-
- Apr 11, 2008
-
-
Owen Anderson authored
llvm-svn: 49517
-
- Apr 10, 2008
-
-
Dan Gohman authored
in addition to integer expressions. Rewrite GetOrEnforceKnownAlignment as a ComputeMaskedBits problem, moving all of its special alignment knowledge to ComputeMaskedBits as low-zero-bits knowledge. Also, teach ComputeMaskedBits a few basic things about Mul and PHI instructions. This improves ComputeMaskedBits-based simplifications in a few cases, but more noticeably it significantly improves instcombine's alignment detection for loads, stores, and memory intrinsics. llvm-svn: 49492
-
- Apr 09, 2008
-
-
Chris Lattner authored
figuring out the suffix to use. implement pow(2,x) -> exp2(x). llvm-svn: 49437
-
Chris Lattner authored
llvm-svn: 49436
-
Owen Anderson authored
GVN and into its own pass. llvm-svn: 49419
-
Chris Lattner authored
add support for pow(x, 2.0) -> x*x. llvm-svn: 49411
-
- Apr 08, 2008
-
-
Gabor Greif authored
llvm-svn: 49382
-
- Mar 29, 2008
-
-
Chris Lattner authored
llvm-svn: 48938
-
- 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
-
Tanya Lattner authored
llvm-svn: 48762
-
- Mar 24, 2008
-
-
Devang Patel authored
llvm-svn: 48738
-
Chris Lattner authored
llvm-svn: 48732
-
Chris Lattner authored
llvm-svn: 48731
-
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
-
-
Owen Anderson authored
llvm-svn: 48693
-
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
-
- Mar 21, 2008
-
-
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 19, 2008
-
-
Tanya Lattner authored
llvm-svn: 48538
-
Tanya Lattner authored
llvm-svn: 48536
-
Tanya Lattner authored
llvm-svn: 48530
-
Tanya Lattner authored
llvm-svn: 48529
-
Tanya Lattner authored
llvm-svn: 48527
-
- Mar 18, 2008
-
-
Tanya Lattner authored
llvm-svn: 48484
-
Tanya Lattner authored
llvm-svn: 48483
-
- 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
-
-
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
-
Devang Patel authored
llvm-svn: 48262
-
- Mar 11, 2008
-
-
Devang Patel authored
llvm-svn: 48254
-
Dan Gohman authored
before trying to merge the block into its predecessors. This allows two-entry-phi-return.ll to be simplified into a single basic block. llvm-svn: 48252
-
Dan Gohman authored
optimized away before it tests what it is intended to test. llvm-svn: 48251
-
Devang Patel authored
llvm-svn: 48210
-
Dan Gohman authored
llvm-svn: 48207
-
- Mar 10, 2008
-
-
Devang Patel authored
llvm-svn: 48163
-
Tanya Lattner authored
llvm-svn: 48137
-
Nick Lewycky authored
llvm-svn: 48123
-
- Mar 09, 2008
-
-
Tanya Lattner authored
llvm-svn: 48103
-