- May 09, 2009
-
-
Duncan Sands authored
will make it more obvious what it represents, and stop it being confused with the StoreSize. llvm-svn: 71349
-
Evan Cheng authored
llvm-svn: 71305
-
- May 08, 2009
-
-
Chris Lattner authored
method, fixing a crash on PR4146. While the store will ultimately overwrite the "padded size" number of bits in memory, the stored value may be a subset of this size. This function only wants to handle the case where all bits are stored. llvm-svn: 71224
-
Nick Lewycky authored
preparation for the day we use null TargetData when no target is specified. llvm-svn: 71210
-
Eli Friedman authored
llvm-svn: 71199
-
- May 07, 2009
-
-
Dan Gohman authored
types, such as loads and calls. llvm-svn: 71175
-
- May 06, 2009
-
-
Evan Cheng authored
llvm-svn: 71091
-
David Greene authored
Make sure to use signed arithmetic in APInt to fix a regression. llvm-svn: 71090
-
Dan Gohman authored
separate back() and pop_back() calls. llvm-svn: 71089
-
Duncan Sands authored
the readnone. Since MallocInst is scheduled for deletion it doesn't seem worth doing anything more subtle, such as having mayWriteToMemory return true for MallocInst. llvm-svn: 71077
-
Duncan Sands authored
the optimizers about this. For example, a readonly function with no uses cannot be removed unless it is also marked nounwind. llvm-svn: 71071
-
Dan Gohman authored
llvm-svn: 71035
-
Dan Gohman authored
llvm-svn: 71033
-
- May 05, 2009
-
-
Bill Wendling authored
Running /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.src/test/ CodeGen/X86/dg.exp ... FAIL: /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.src/test/ CodeGen/X86/change-compare-stride-1.ll Failed with exit(1) at line 2 while running: grep {cmpq $-478,} change-compare-stride-1.ll.tmp child process exited abnormally llvm-svn: 71013
-
David Greene authored
Handle overflow of 64-bit loop conditions. llvm-svn: 71008
-
Dan Gohman authored
CallbackVH, with fixes. allUsesReplacedWith need to walk the def-use chains and invalidate all users of a value that is replaced. SCEVs of users need to be recalcualted even if the new value is equivalent. Also, make forgetLoopPHIs walk def-use chains, since any SCEV that depends on a PHI should be recalculated when more information about that PHI becomes available. llvm-svn: 70927
-
Dan Gohman authored
llvm-svn: 70919
-
- May 04, 2009
-
-
Chris Lattner authored
llvm-svn: 70872
-
Chris Lattner authored
ThreadEdge directly. This shares the code, but is just a refactoring. * Make JumpThreading compute the set of loop headers and avoid threading across them. This prevents jump threading from forming irreducible loops (goodness) but also prevents it from threading in other cases that are beneficial (see the comment above FindFunctionBackedges). llvm-svn: 70820
-
Chris Lattner authored
FindFunctionBackedges function. llvm-svn: 70819
-
- May 03, 2009
-
-
Dan Gohman authored
llvm-svn: 70661
-
Nick Lewycky authored
them to bool. llvm-svn: 70653
-
- May 02, 2009
-
-
Dan Gohman authored
makes ScalarEvolution::deleteValueFromRecords, and it's code that subtly needed to be called before ReplaceAllUsesWith, unnecessary. It also makes ValueDeletionListener unnecessary. llvm-svn: 70645
-
Dan Gohman authored
a default value, and will hopefully be going away soon. llvm-svn: 70642
-
Dan Gohman authored
of returning a list of pointers to Values that are deleted. This was unsafe, because the pointers in the list are, by nature of what RecursivelyDeleteDeadInstructions does, always dangling. Replace this with a simple callback mechanism. This may eventually be removed if all clients can reasonably be expected to use CallbackVH. Use this to factor out the dead-phi-cycle-elimination code from LSR utility function, and generalize it to use the RecursivelyDeleteTriviallyDeadInstructions utility function. This makes LSR more aggressive about eliminating dead PHI cycles; adjust tests to either be less trivial or to simply expect fewer instructions. llvm-svn: 70636
-
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
-