summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/DeadStoreElimination
Commit message (Collapse)AuthorAgeFilesLines
...
* clean up DSE tests, removing some poorly reduced and useless old test,Chris Lattner2010-11-3014-1301/+115
| | | | | | merging more into other larger .ll files, filecheckizing along the way. llvm-svn: 120373
* enhance basicaa to return "Mod" for a memcpy call when theChris Lattner2010-11-301-2/+13
| | | | | | queried location doesn't overlap the source, and add a testcase. llvm-svn: 120370
* Teach basicaa that memset's modref set is at worst "mod" and neverChris Lattner2010-11-301-0/+14
| | | | | | | | | | contains "ref". Enhance DSE to use a modref query instead of a store-specific hack to generalize the "ignore may-alias stores" optimization to handle memset and memcpy. llvm-svn: 120368
* my previous patch would cause us to start deleting some volatileChris Lattner2010-11-301-0/+20
| | | | | | stores, fix and add a testcase. llvm-svn: 120363
* Fix some broken CHECK lines.Benjamin Kramer2010-11-291-1/+1
| | | | llvm-svn: 120332
* fix PR8677, patch by Jakub Staszak!Chris Lattner2010-11-291-0/+14
| | | | llvm-svn: 120325
* implement PR8576, deleting dead stores with intervening may-alias stores.Chris Lattner2010-11-211-0/+9
| | | | llvm-svn: 119927
* file checkizeChris Lattner2010-11-211-3/+6
| | | | llvm-svn: 119926
* Enhance DSE to handle the case where a free call makes more thanDan Gohman2010-11-121-0/+14
| | | | | | | one store dead. This is especially noticeable in SingleSource/Benchmarks/Shootout/objinst. llvm-svn: 118875
* Filecheckize.Dan Gohman2010-11-121-1/+12
| | | | llvm-svn: 118874
* Make BasicAliasAnalysis a normal AliasAnalysis implementation whichDan Gohman2010-10-188-8/+8
| | | | | | | | | | | | does normal initialization and normal chaining. Change the default AliasAnalysis implementation to NoAlias. Update StandardCompileOpts.h and friends to explicitly request BasicAliasAnalysis. Update tests to explicitly request -basicaa. llvm-svn: 116720
* add newlines at the end of files.Chris Lattner2010-04-071-1/+1
| | | | llvm-svn: 100705
* Make DSE only scan blocks that are reachable from the entryChris Lattner2010-02-111-0/+14
| | | | | | | | | block. Other blocks may have pointer cycles that will crash basicaa and other alias analyses. In any case, there is no point wasting cycles optimizing dead blocks. This fixes rdar://7635088 llvm-svn: 95852
* Delete useless trailing semicolons.Dan Gohman2010-01-052-3/+3
| | | | llvm-svn: 92740
* Fix some CHECK lines which were ignored by accident.Benjamin Kramer2009-12-121-6/+6
| | | | llvm-svn: 91214
* Cleanup/remove some parts of the lifetime region handling code in memdep and ↵Owen Anderson2009-12-021-18/+0
| | | | | | | | GVN, per Chris' comments. Adjust testcases to match. llvm-svn: 90304
* Teach memdep to look for memory use intrinsics during dependency queries. FixesNick Lewycky2009-11-281-1/+19
| | | | | | PR5574. llvm-svn: 90045
* implement a FIXME: limit the depth that DecomposeGEPExpression goes the sameChris Lattner2009-11-281-1/+18
| | | | | | | | | way that getUnderlyingObject does it. This fixes the 'DecomposeGEPExpression and getUnderlyingObject disagree!' assertion on sqlite3. llvm-svn: 90038
* Teach BasicAA that a constant expression can't alias memory provably notNick Lewycky2009-11-141-0/+39
| | | | | | allocated until runtime (such as an alloca). Patch by Hans Wennborg! llvm-svn: 88760
* Teach DSE to eliminate useless trampolines.Duncan Sands2009-11-101-0/+16
| | | | llvm-svn: 86683
* Reapply r86359, "Teach dead store elimination that certain intrinsics write toNick Lewycky2009-11-103-0/+80
| | | | | | | memory just like a store" with bug fixed (partial-overwrite.ll is the regression test). llvm-svn: 86667
* remove empty files.Chris Lattner2009-11-072-0/+0
| | | | llvm-svn: 86392
* Revert r86359, it is breaking the self host on theChris Lattner2009-11-072-66/+0
| | | | | | llvm-gcc-i386-darwin9 build bot. llvm-svn: 86391
* Teach dead store elimination that certain intrinsics write to memory just likeNick Lewycky2009-11-072-0/+66
| | | | | | a store. llvm-svn: 86359
* improve DSE when TargetData is not around, based on work byChris Lattner2009-11-041-0/+15
| | | | | | Hans Wennborg! llvm-svn: 86067
* Make opt default to not adding a target data string and update tests that ↵Kenneth Uildriks2009-11-034-0/+4
| | | | | | depend on target data to supply it within the test llvm-svn: 85900
* Treat lifetime begin/end markers as allocations/frees respectively for theOwen Anderson2009-10-281-0/+18
| | | | | | purposes for GVN/DSE. llvm-svn: 85383
* Change tests from "opt %s" to "opt < %s" so that opt doesn't see theDan Gohman2009-09-1116-16/+16
| | | | | | | | input filename so that opt doesn't print the input filename in the output so that grep lines in the tests don't unintentionally match strings in the input filename. llvm-svn: 81537
* Use opt -S instead of piping bitcode output through llvm-dis.Dan Gohman2009-09-0811-11/+11
| | | | llvm-svn: 81257
* Change these tests to feed the assembly files to opt directly, insteadDan Gohman2009-09-0816-16/+16
| | | | | | of using llvm-as, now that opt supports this. llvm-svn: 81226
* fix PR4815: some cases where DeleteDeadInstruction can deleteChris Lattner2009-09-021-0/+26
| | | | | | the instruction BBI points to. llvm-svn: 80768
* Split the Add, Sub, and Mul instruction opcodes into separateDan Gohman2009-06-041-1/+1
| | | | | | | | | | | | | | | integer and floating-point opcodes, introducing FAdd, FSub, and FMul. For now, the AsmParser, BitcodeReader, and IRBuilder all preserve backwards compatability, and the Core LLVM APIs preserve backwards compatibility for IR producers. Most front-ends won't need to change immediately. This implements the first step of the plan outlined here: http://nondot.org/sabre/LLVMNotes/IntegerOverflow.txt llvm-svn: 72897
* Reimplement the inner loop of DSE. It now uniformly uses getDependence(),Chris Lattner2008-12-061-0/+7
| | | | | | | | doesn't do its own local caching, and is slightly more aggressive about free/store dse (see testcase). This eliminates the last external client of MemDep::getDependenceFrom(). llvm-svn: 60619
* Fix a thinko that manifested as a crash on clamav last night.Chris Lattner2008-11-291-0/+27
| | | | llvm-svn: 60251
* Fix PR3141 by ensuring that MemoryDependenceAnalysis::removeInstructionChris Lattner2008-11-281-0/+16
| | | | | | | properly updates the reverse dependency map when it installs updated dependencies for instructions that depend on the removed instruction. llvm-svn: 60222
* Add support for eliminating stores that store the same value that was just ↵Owen Anderson2008-07-281-0/+14
| | | | | | | | loaded. This fixes PR2599. llvm-svn: 54133
* sabre brings to my attention that the 'tr' suffix is also obsoleteGabor Greif2008-05-201-1/+1
| | | | llvm-svn: 51349
* Rename the last test with .llx extension to .ll, resolve duplicate test by ↵Gabor Greif2008-05-201-1/+1
| | | | | | renaming to isnan2. Now that no test has llx ending there is no need to search for them from dg.exp too. llvm-svn: 51328
* Update old-style syntax in some "not grep" tests.Dan Gohman2008-05-011-1/+1
| | | | llvm-svn: 50560
* Fix DSE to not eliminate volatile loads with no uses.Dan Gohman2008-04-281-0/+8
| | | | llvm-svn: 50370
* rename *.llx -> *.ll, last batch.Chris Lattner2008-04-194-0/+0
| | | | llvm-svn: 49971
* Remove llvm-upgrade and update test cases.Tanya Lattner2008-03-019-997/+996
| | | | llvm-svn: 47793
* Make DSE much more aggressive by performing DCE earlier. Update a testcase ↵Owen Anderson2008-01-301-1/+1
| | | | | | to reflect this increased aggressiveness. llvm-svn: 46542
* Add a testcase for eliminating memcpy's at the end of functions. Forgot to ↵Owen Anderson2008-01-291-0/+52
| | | | | | commit this with my last commit. llvm-svn: 46497
* DeadStoreElimination can treat byval parameters as if there were alloca's ↵Owen Anderson2008-01-251-0/+10
| | | | | | for the purpose of removing end-of-function stores. llvm-svn: 46351
* Fix test/Transforms/DeadStoreElimination/PartialStore.ll, which had beenOwen Anderson2007-11-011-1/+1
| | | | | | silently failing because of an incorrect run line for some time. llvm-svn: 43605
* Forgot to update these files for the FastDSE changes.Owen Anderson2007-08-014-4/+4
| | | | llvm-svn: 40674
* Rename FastDSE to just DSE.Owen Anderson2007-08-015-5/+5
| | | | llvm-svn: 40668
* Move these tests to use FastDSE instead of old DSE.Owen Anderson2007-07-239-9/+9
| | | | llvm-svn: 40444
* Convert .cvsignore filesJohn Criswell2007-06-291-3/+0
| | | | llvm-svn: 37801
OpenPOWER on IntegriCloud