Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | clean up DSE tests, removing some poorly reduced and useless old test, | Chris Lattner | 2010-11-30 | 14 | -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 the | Chris Lattner | 2010-11-30 | 1 | -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 never | Chris Lattner | 2010-11-30 | 1 | -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 volatile | Chris Lattner | 2010-11-30 | 1 | -0/+20 | |
| | | | | | | stores, fix and add a testcase. llvm-svn: 120363 | |||||
* | Fix some broken CHECK lines. | Benjamin Kramer | 2010-11-29 | 1 | -1/+1 | |
| | | | | llvm-svn: 120332 | |||||
* | fix PR8677, patch by Jakub Staszak! | Chris Lattner | 2010-11-29 | 1 | -0/+14 | |
| | | | | llvm-svn: 120325 | |||||
* | implement PR8576, deleting dead stores with intervening may-alias stores. | Chris Lattner | 2010-11-21 | 1 | -0/+9 | |
| | | | | llvm-svn: 119927 | |||||
* | file checkize | Chris Lattner | 2010-11-21 | 1 | -3/+6 | |
| | | | | llvm-svn: 119926 | |||||
* | Enhance DSE to handle the case where a free call makes more than | Dan Gohman | 2010-11-12 | 1 | -0/+14 | |
| | | | | | | | one store dead. This is especially noticeable in SingleSource/Benchmarks/Shootout/objinst. llvm-svn: 118875 | |||||
* | Filecheckize. | Dan Gohman | 2010-11-12 | 1 | -1/+12 | |
| | | | | llvm-svn: 118874 | |||||
* | Make BasicAliasAnalysis a normal AliasAnalysis implementation which | Dan Gohman | 2010-10-18 | 8 | -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 Lattner | 2010-04-07 | 1 | -1/+1 | |
| | | | | llvm-svn: 100705 | |||||
* | Make DSE only scan blocks that are reachable from the entry | Chris Lattner | 2010-02-11 | 1 | -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 Gohman | 2010-01-05 | 2 | -3/+3 | |
| | | | | llvm-svn: 92740 | |||||
* | Fix some CHECK lines which were ignored by accident. | Benjamin Kramer | 2009-12-12 | 1 | -6/+6 | |
| | | | | llvm-svn: 91214 | |||||
* | Cleanup/remove some parts of the lifetime region handling code in memdep and ↵ | Owen Anderson | 2009-12-02 | 1 | -18/+0 | |
| | | | | | | | | GVN, per Chris' comments. Adjust testcases to match. llvm-svn: 90304 | |||||
* | Teach memdep to look for memory use intrinsics during dependency queries. Fixes | Nick Lewycky | 2009-11-28 | 1 | -1/+19 | |
| | | | | | | PR5574. llvm-svn: 90045 | |||||
* | implement a FIXME: limit the depth that DecomposeGEPExpression goes the same | Chris Lattner | 2009-11-28 | 1 | -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 not | Nick Lewycky | 2009-11-14 | 1 | -0/+39 | |
| | | | | | | allocated until runtime (such as an alloca). Patch by Hans Wennborg! llvm-svn: 88760 | |||||
* | Teach DSE to eliminate useless trampolines. | Duncan Sands | 2009-11-10 | 1 | -0/+16 | |
| | | | | llvm-svn: 86683 | |||||
* | Reapply r86359, "Teach dead store elimination that certain intrinsics write to | Nick Lewycky | 2009-11-10 | 3 | -0/+80 | |
| | | | | | | | memory just like a store" with bug fixed (partial-overwrite.ll is the regression test). llvm-svn: 86667 | |||||
* | remove empty files. | Chris Lattner | 2009-11-07 | 2 | -0/+0 | |
| | | | | llvm-svn: 86392 | |||||
* | Revert r86359, it is breaking the self host on the | Chris Lattner | 2009-11-07 | 2 | -66/+0 | |
| | | | | | | llvm-gcc-i386-darwin9 build bot. llvm-svn: 86391 | |||||
* | Teach dead store elimination that certain intrinsics write to memory just like | Nick Lewycky | 2009-11-07 | 2 | -0/+66 | |
| | | | | | | a store. llvm-svn: 86359 | |||||
* | improve DSE when TargetData is not around, based on work by | Chris Lattner | 2009-11-04 | 1 | -0/+15 | |
| | | | | | | Hans Wennborg! llvm-svn: 86067 | |||||
* | Make opt default to not adding a target data string and update tests that ↵ | Kenneth Uildriks | 2009-11-03 | 4 | -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 the | Owen Anderson | 2009-10-28 | 1 | -0/+18 | |
| | | | | | | purposes for GVN/DSE. llvm-svn: 85383 | |||||
* | Change tests from "opt %s" to "opt < %s" so that opt doesn't see the | Dan Gohman | 2009-09-11 | 16 | -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 Gohman | 2009-09-08 | 11 | -11/+11 | |
| | | | | llvm-svn: 81257 | |||||
* | Change these tests to feed the assembly files to opt directly, instead | Dan Gohman | 2009-09-08 | 16 | -16/+16 | |
| | | | | | | of using llvm-as, now that opt supports this. llvm-svn: 81226 | |||||
* | fix PR4815: some cases where DeleteDeadInstruction can delete | Chris Lattner | 2009-09-02 | 1 | -0/+26 | |
| | | | | | | the instruction BBI points to. llvm-svn: 80768 | |||||
* | Split the Add, Sub, and Mul instruction opcodes into separate | Dan Gohman | 2009-06-04 | 1 | -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 Lattner | 2008-12-06 | 1 | -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 Lattner | 2008-11-29 | 1 | -0/+27 | |
| | | | | llvm-svn: 60251 | |||||
* | Fix PR3141 by ensuring that MemoryDependenceAnalysis::removeInstruction | Chris Lattner | 2008-11-28 | 1 | -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 Anderson | 2008-07-28 | 1 | -0/+14 | |
| | | | | | | | | loaded. This fixes PR2599. llvm-svn: 54133 | |||||
* | sabre brings to my attention that the 'tr' suffix is also obsolete | Gabor Greif | 2008-05-20 | 1 | -1/+1 | |
| | | | | llvm-svn: 51349 | |||||
* | Rename the last test with .llx extension to .ll, resolve duplicate test by ↵ | Gabor Greif | 2008-05-20 | 1 | -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 Gohman | 2008-05-01 | 1 | -1/+1 | |
| | | | | llvm-svn: 50560 | |||||
* | Fix DSE to not eliminate volatile loads with no uses. | Dan Gohman | 2008-04-28 | 1 | -0/+8 | |
| | | | | llvm-svn: 50370 | |||||
* | rename *.llx -> *.ll, last batch. | Chris Lattner | 2008-04-19 | 4 | -0/+0 | |
| | | | | llvm-svn: 49971 | |||||
* | Remove llvm-upgrade and update test cases. | Tanya Lattner | 2008-03-01 | 9 | -997/+996 | |
| | | | | llvm-svn: 47793 | |||||
* | Make DSE much more aggressive by performing DCE earlier. Update a testcase ↵ | Owen Anderson | 2008-01-30 | 1 | -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 Anderson | 2008-01-29 | 1 | -0/+52 | |
| | | | | | | commit this with my last commit. llvm-svn: 46497 | |||||
* | DeadStoreElimination can treat byval parameters as if there were alloca's ↵ | Owen Anderson | 2008-01-25 | 1 | -0/+10 | |
| | | | | | | for the purpose of removing end-of-function stores. llvm-svn: 46351 | |||||
* | Fix test/Transforms/DeadStoreElimination/PartialStore.ll, which had been | Owen Anderson | 2007-11-01 | 1 | -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 Anderson | 2007-08-01 | 4 | -4/+4 | |
| | | | | llvm-svn: 40674 | |||||
* | Rename FastDSE to just DSE. | Owen Anderson | 2007-08-01 | 5 | -5/+5 | |
| | | | | llvm-svn: 40668 | |||||
* | Move these tests to use FastDSE instead of old DSE. | Owen Anderson | 2007-07-23 | 9 | -9/+9 | |
| | | | | llvm-svn: 40444 | |||||
* | Convert .cvsignore files | John Criswell | 2007-06-29 | 1 | -3/+0 | |
| | | | | llvm-svn: 37801 |