summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/IPConstantProp
Commit message (Collapse)AuthorAgeFilesLines
* Use references to attribute groups on the call/invoke instructions.Bill Wendling2013-02-221-1/+2
| | | | | | | Listing all of the attributes for the callee of a call/invoke instruction is way too much and makes the IR unreadable. Use references to attributes instead. llvm-svn: 175877
* Modify the LLVM assembly output so that it uses references to represent ↵Bill Wendling2013-02-201-1/+4
| | | | | | | | | | | function attributes. This makes the LLVM assembly look better. E.g.: define void @foo() #0 { ret void } attributes #0 = { nounwind noinline ssp } llvm-svn: 175605
* Convert all tests using TCL-style quoting to use shell-style quoting.Chandler Carruth2012-07-024-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | This was done through the aid of a terrible Perl creation. I will not paste any of the horrors here. Suffice to say, it require multiple staged rounds of replacements, state carried between, and a few nested-construct-parsing hacks that I'm not proud of. It happens, by luck, to be able to deal with all the TCL-quoting patterns in evidence in the LLVM test suite. If anyone is maintaining large out-of-tree test trees, feel free to poke me and I'll send you the steps I used to convert things, as well as answer any painful questions etc. IRC works best for this type of thing I find. Once converted, switch the LLVM lit config to use ShTests the same as Clang. In addition to being able to delete large amounts of Python code from 'lit', this will also simplify the entire test suite and some of lit's architecture. Finally, the test suite runs 33% faster on Linux now. ;] For my 16-hardware-thread (2x 4-core xeon e5520): 36s -> 24s llvm-svn: 159525
* Replace all instances of dg.exp file with lit.local.cfg, since all tests are ↵Eli Bendersky2012-02-162-3/+1
| | | | | | | | run with LIT now and now Dejagnu. dg.exp is no longer needed. Patch reviewed by Daniel Dunbar. It will be followed by additional cleanup patches. llvm-svn: 150664
* Upgrade syntax of tests using volatile instructions to use 'load volatile' ↵Chris Lattner2011-11-271-1/+1
| | | | | | instead of 'volatile load', which is archaic. llvm-svn: 145171
* Update some tests to the new EH scheme.Bill Wendling2011-09-012-1/+13
| | | | llvm-svn: 138925
* Add an ipsccp test. Migrated from test/FrontendC++.Eric Christopher2011-08-151-0/+26
| | | | llvm-svn: 137646
* remove parser support for the obsolete "multiple return values" syntax, whichChris Lattner2011-06-171-26/+31
| | | | | | was replaced with return of a "first class aggregate". llvm-svn: 133245
* more test cleanupChris Lattner2010-09-021-2/+2
| | | | llvm-svn: 112892
* Delete useless trailing semicolons.Dan Gohman2010-01-051-2/+2
| | | | llvm-svn: 92740
* Fix a use of an invalidated iterator in the case where there are multipleDan Gohman2009-11-231-0/+30
| | | | | | adjacent uses of a dead basic block from the same user. This fixes PR5596. llvm-svn: 89658
* Fix IPSCCP's code for deleting dead blocks to tolerate outstandingDan Gohman2009-11-201-0/+42
| | | | | | blockaddress users. This fixes PR5569. llvm-svn: 89483
* Constant propagating byval pointer is safe if function is readonly.Torok Edwin2009-09-241-2/+18
| | | | llvm-svn: 82700
* Don't constant propagate byval pointers, since they are not really pointers, butTorok Edwin2009-09-241-0/+24
| | | | | | | rather structs passed by value. This fixes PR5038. llvm-svn: 82689
* 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-084-4/+4
| | | | 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
* Modify some ipconstprop tests to also test with invokes.Matthijs Kooijman2008-06-192-2/+13
| | | | llvm-svn: 52491
* Reapply r52397 (make IPConstProp promote returned arguments), but fixed thisMatthijs Kooijman2008-06-181-0/+46
| | | | | | | | time. Sorry for the trouble! This time, also add a testcase, which I should have done in the first place... llvm-svn: 52455
* Reapply r52396, it was unrelated to the breakage (that was caused by r52397, myMatthijs Kooijman2008-06-181-9/+30
| | | | | | commit after this). llvm-svn: 52453
* temporarily revert this testcase since its patch was reverted.Chris Lattner2008-06-181-30/+9
| | | | llvm-svn: 52441
* Learn IPConstProp to look at individual return values and propagate themMatthijs Kooijman2008-06-171-9/+30
| | | | | | | | | | | individually. Also learn IPConstProp how returning first class aggregates work, in addition to old style multiple return instructions. Modify the return-constants testscase to confirm this behaviour. llvm-svn: 52396
* Fix PR2411, where ip constant prop would propagate theChris Lattner2008-06-091-0/+15
| | | | | | result of a weak function. llvm-svn: 52137
* 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
* Handle multiple ret values.Devang Patel2008-03-111-0/+20
| | | | llvm-svn: 48254
* Remove llvm-upgrade and update test cases.Tanya Lattner2008-03-013-28/+26
| | | | llvm-svn: 47793
* Convert .cvsignore filesJohn Criswell2007-06-291-3/+0
| | | | llvm-svn: 37801
* For PR1319:Reid Spencer2007-04-152-3/+3
| | | | | | Upgrade to use new Tcl exec based test harness. llvm-svn: 36062
* 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-175-0/+44
llvm-svn: 33296
OpenPOWER on IntegriCloud