- May 02, 2009
-
-
Dan Gohman authored
deleting it. This will let ScalarEvolution be more complete about updating its records. llvm-svn: 70632
-
Nick Lewycky authored
llvm-svn: 70630
-
Dan Gohman authored
of LSR. This makes the AddUsersIfInteresting phase of LSR a pure analysis instead of a phase that potentially does CFG modifications. The conditions where this code would actually perform a split are rare, and in the cases where it actually would do a split the split is usually undone by CodeGenPrepare, and in cases where splits actually survive into codegen, they appear to hurt more often than they help. llvm-svn: 70625
-
- May 01, 2009
-
-
Dan Gohman authored
target hooks canLosslesslyBitCastTo and isTruncateFree. This allows targets to avoid worrying about handling all combinations of integer and pointer types. llvm-svn: 70555
-
Dan Gohman authored
llvm-svn: 70551
-
Dan Gohman authored
llvm-svn: 70546
-
- Apr 30, 2009
-
-
Dale Johannesen authored
llvm-svn: 70427
-
Dan Gohman authored
llvm-svn: 70416
-
- Apr 28, 2009
-
-
Dan Gohman authored
llvm-svn: 70262
-
- Apr 27, 2009
-
-
Dale Johannesen authored
llvm-svn: 70247
-
Dan Gohman authored
between the comparison's iv stride and the candidate stride is exactly -1. llvm-svn: 70244
-
- Apr 25, 2009
-
-
Dan Gohman authored
llvm-svn: 70054
-
Dan Gohman authored
into unsigned ones when the operands are known to have the same sign bit value. llvm-svn: 70053
-
- Apr 24, 2009
-
-
Sanjiv Gupta authored
llvm-svn: 69946
-
- Apr 23, 2009
-
-
Dan Gohman authored
with the persistent insertion point, and change IndVars to make use of it. This fixes a bug where IndVars was holding on to a stale insertion point and forcing the SCEVExpander to continue to use it. This fixes PR4038. llvm-svn: 69892
-
Evan Cheng authored
llvm-svn: 69844
-
Evan Cheng authored
llvm-svn: 69842
-
Evan Cheng authored
llvm-svn: 69836
-
- Apr 22, 2009
-
-
Owen Anderson authored
Real fix for PR3549, by using caching for predecessor counts in addition to the predecessors themselves. This halves the time to optimize the testcase, beyond what my previous patch did. llvm-svn: 69792
-
Owen Anderson authored
Use PredIteratorCache in LCSSA, which gives a 37% overall speedup on the testcase from PR3549. More improvements to come. llvm-svn: 69788
-
Chris Lattner authored
llvm-svn: 69752
-
- Apr 21, 2009
-
-
-
Dan Gohman authored
and SCEVSignExtendExpr. llvm-svn: 69649
-
Dan Gohman authored
the code to minimize dependencies on TargetData. llvm-svn: 69644
-
Dale Johannesen authored
GEP's don't usually become instructions. llvm-svn: 69631
-
- Apr 20, 2009
-
-
Sanjiv Gupta authored
pointer type, make sure that the pointer size is a valid sequential index type. llvm-svn: 69574
-
- Apr 18, 2009
-
-
Dan Gohman authored
llvm-svn: 69450
-
Jim Grosbach authored
llvm-svn: 69402
-
- Apr 17, 2009
-
-
David Greene authored
Use a safer iterator interface and get rid of std C++ library misuse. This fixes a --enable-expensive-checks problem. llvm-svn: 69353
-
Dan Gohman authored
regression in 403.gcc in PIC_CODEGEN=1 and DISABLE_LTO=1 mode. llvm-svn: 69344
-
Dan Gohman authored
to get the correct answer for pointer types. llvm-svn: 69321
-
- Apr 16, 2009
-
-
Eli Friedman authored
incoming edges for a block with many predecessors. llvm-svn: 69312
-
Dan Gohman authored
targets with pointers larger than 64 bits, due to the code not yet being APInt clean. llvm-svn: 69296
-
Dan Gohman authored
optimizer, which just happen to frequently involve optimizing GEPs. llvm-svn: 69295
-
Dan Gohman authored
since the operand is always a constant. llvm-svn: 69291
-
Dan Gohman authored
new instruction with SCEVExpander::InsertCastOfTo. llvm-svn: 69290
-
Dan Gohman authored
have pointer types, though in contrast to C pointer types, SCEV addition is never implicitly scaled. This not only eliminates the need for special code like IndVars' EliminatePointerRecurrence and LSR's own GEP expansion code, it also does a better job because it lets the normal optimizations handle pointer expressions just like integer expressions. Also, since LLVM IR GEPs can't directly index into multi-dimensional VLAs, moving the GEP analysis out of client code and into the SCEV framework makes it easier for clients to handle multi-dimensional VLAs the same way as other arrays. Some existing regression tests show improved optimization. test/CodeGen/ARM/2007-03-13-InstrSched.ll in particular improved to the point where if-conversion started kicking in; I turned it off for this test to preserve the intent of the test. llvm-svn: 69258
-
Dale Johannesen authored
and sext over (iv | const), if a longer iv is available. Allow expressions to have more than one zext/sext parent. All from OpenSSL. llvm-svn: 69241
-
- Apr 15, 2009
-
-
Dale Johannesen authored
if a longer iv is available. These subscript forms are not common; they're a bottleneck in OpenSSL. llvm-svn: 69215
-
Dale Johannesen authored
sext around sext(shorter IV + constant), using a longer IV instead, when it can figure out the add can't overflow. This comes up a lot in subscripting; mainly affects 64 bit. llvm-svn: 69123
-