aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/DeadStoreElimination
AgeCommit message (Expand)Author
2013-04-30TBAA: remove !tbaa from testing cases if not used.Manman Ren
2013-01-01Tests: rewrite 'opt ... %s' to 'opt ... < %s' so that opt does not emit a Mod...Dmitri Gribenko
2012-12-30Tests: rewrite 'opt ... %s' to 'opt ... < %s' so that opt does not emit a Mod...Dmitri Gribenko
2012-09-25Make this test check the transforms it's actually doing. Also add a test that itNick Lewycky
2012-09-25Don't forget that strcpy and friends return a pointer to the destination, soNick Lewycky
2012-09-24Teach DSE that strcpy, strncpy, strcat and strncat are all stores which may beNick Lewycky
2012-09-03Fix more fallout from r158919, similar to PR13547.Bob Wilson
2012-08-14Change greater than to greater than or equal so that an identical sized store...Craig Topper
2012-08-08isAllocLikeFn is allowed to return true for functions which read memory; makeEli Friedman
2012-05-10Teach DeadStoreElimination to eliminate exit-block stores with phi addresses.Dan Gohman
2012-05-10teach DSE and isInstructionTriviallyDead() about callocNuno Lopes
2012-02-28Reverted r152620 - DSE: Shorten memset when a later store overwrites the star...Pete Cooper
2012-02-28DSE: Shorten memset when a later store overwrites the start of itPete Cooper
2012-02-26Add testcase for the previous commit.Rafael Espindola
2012-02-16Replace all instances of dg.exp file with lit.local.cfg, since all tests are ...Eli Bendersky
2011-12-08Fix infinite loop in DSE when deleting a free in a reachable loop that's alsoNick Lewycky
2011-12-03Fixed deadstoreelimination bug where negative indices were incorrectly causin...Pete Cooper
2011-11-16Fix typo in test.Nick Lewycky
2011-11-16Merge isObjectPointerWithTrustworthySize with getPointerSize. Use it whenNick Lewycky
2011-11-09DeadStoreElimination can now trim the size of a store if the end of the store...Pete Cooper
2011-11-05Do simple cross-block DSE when we encounter a free statement. Fixes PR11240.Nick Lewycky
2011-11-04Speculatively revert "DeadStoreElimination can now trim the size of a store ifDaniel Dunbar
2011-11-03DeadStoreElimination can now trim the size of a store if the end of it is dead.Pete Cooper
2011-10-24A dead malloc, a free(NULL) and a free(undef) are all trivially deadNick Lewycky
2011-10-22A non-escaping malloc in the entry block is not unlike an alloca. Do dead-storeNick Lewycky
2011-09-06Try again at r138809 (make DSE more aggressive in removing dead stores at the...Owen Anderson
2011-08-30Remove empty file.Owen Anderson
2011-08-30Speculatively revert r138809 in an attempt to fix DragonEgg.Owen Anderson
2011-08-30When walking backwards to eliminate final stores to allocas at the end of a f...Owen Anderson
2011-08-17Atomic load/store handling for the passes using memdep (GVN, DSE, memcpyopt).Eli Friedman
2011-08-12Move "atomic" and "volatile" designations on instructions after the opcodeEli Friedman
2011-06-18rip out a ton of intrinsic modernization logic from AutoUpgrade.cpp, which isChris Lattner
2011-06-17manually upgrade a bunch of tests to modern syntax, and remove some thatChris Lattner
2011-05-23fix a really nasty basicaa mod/ref calculation bug that was causing miscompil...Chris Lattner
2011-03-30* The DSE code that tested for overlapping needed to take into account the factBill Wendling
2011-03-26PR9561: A store with a negative offset (via GEP) could erroniously say that itBill Wendling
2010-12-06Fix PR8728, a miscompilation I recently introduced. When optimizingChris Lattner
2010-11-30Enhance DSE to handle the variable index case in PR8657.Chris Lattner
2010-11-30teach DSE to use GetPointerBaseWithConstantOffset to analyzeChris Lattner
2010-11-30enhance isRemovable to refuse to delete volatile mem transfersChris Lattner
2010-11-30Rewrite the main DSE loop to be written in terms of reasoningChris Lattner
2010-11-30merge one more awayChris Lattner
2010-11-30I already merged partial-overwrite.ll -> PartialStore.llChris Lattner
2010-11-30clean up DSE tests, removing some poorly reduced and useless old test,Chris Lattner
2010-11-30enhance basicaa to return "Mod" for a memcpy call when theChris Lattner
2010-11-30Teach basicaa that memset's modref set is at worst "mod" and neverChris Lattner
2010-11-30my previous patch would cause us to start deleting some volatileChris Lattner
2010-11-29Fix some broken CHECK lines.Benjamin Kramer
2010-11-29fix PR8677, patch by Jakub Staszak!Chris Lattner
2010-11-21implement PR8576, deleting dead stores with intervening may-alias stores.Chris Lattner