summaryrefslogtreecommitdiffstats
path: root/llvm/test/Analysis/GlobalsModRef
Commit message (Collapse)AuthorAgeFilesLines
...
* Change tests from "opt %s" to "opt < %s" so that opt doesn't see theDan Gohman2009-09-116-6/+6
| | | | | | | | 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-085-5/+5
| | | | llvm-svn: 81257
* Change these tests to feed the assembly files to opt directly, insteadDan Gohman2009-09-086-6/+6
| | | | | | of using llvm-as, now that opt supports this. llvm-svn: 81226
* Remove the MarkModRef pass (use AddReadAttrs instead).Duncan Sands2008-09-191-1104/+0
| | | | | | | | Unfortunately this means removing one regression test of GlobalsModRef because I couldn't work out how to perform it without MarkModRef. llvm-svn: 56342
* Add a new pass AddReadAttrs which works out which functionsDuncan Sands2008-09-194-38/+0
| | | | | | | | | can get the readnone/readonly attributes, and gives them it. The plan is to remove markmodref (which did the same thing by querying GlobalsModRef) and delete the analogous functionality from GlobalsModRef. llvm-svn: 56341
* Fix PR2792: treat volatile loads as writing memory somewhere.Duncan Sands2008-09-131-0/+9
| | | | | | Treat stores as reading memory, just to play safe. llvm-svn: 56188
* Testcase for commits 55700 and 55714.Duncan Sands2008-09-031-0/+1104
| | | | llvm-svn: 55715
* Since onlyReadsMemory returns true if in factDuncan Sands2008-09-031-0/+9
| | | | | | | | doesNotAccessMemory, check doesNotAccessMemory first, since otherwise functions may be marked readonly rather than readnone. llvm-svn: 55697
* Cleanup GlobalsModRef a bit. When analysing theDuncan Sands2008-09-033-0/+38
| | | | | | | | | | | callgraph, when one member of a SCC calls another then the analysis would drop to mod-ref because there is (usually) no function info for the callee yet; fix this. Teach the analysis about function attributes, in particular the readonly attribute (which requires being careful about globals). llvm-svn: 55696
* Remove GCSE and LoadVN from the testsuite.Owen Anderson2008-08-165-5/+5
| | | | llvm-svn: 54832
* 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
* Remove llvm-upgrade.Tanya Lattner2008-02-144-51/+45
| | | | llvm-svn: 47110
* Ding dong, the DoesntAccessMemoryFns andDuncan Sands2007-11-231-12/+12
| | | | | | | | | OnlyReadsMemoryFns tables are dead! We get more, and more accurate, information from gcc via the readnone and readonly function attributes. llvm-svn: 44288
* Convert .cvsignore filesJohn Criswell2007-06-291-3/+0
| | | | llvm-svn: 37801
* For PR1319:Reid Spencer2007-04-152-3/+4
| | | | | | Upgrade to use new Tcl exec based test harness. llvm-svn: 36066
* Make the llvm-runtest function much more amenable by eliminating all theReid Spencer2007-04-111-1/+1
| | | | | | | | global variables that needed to be passed in. This makes it possible to add new global variables with only a couple changes (Makefile and llvm-dg.exp) instead of touching every single dg.exp file. llvm-svn: 35918
* Regression is gone, don't try to find it on clean target.Reid Spencer2007-01-177-0/+96
llvm-svn: 33296
OpenPOWER on IntegriCloud