summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/ArgumentPromotion
Commit message (Collapse)AuthorAgeFilesLines
...
* Change CallGraphNode to maintain it's Function as an AssertingVHChris Lattner2009-09-011-0/+23
| | | | | | | | | | | | for sanity. This didn't turn up any bugs. Change CallGraphNode to maintain its "callsite" information in the call edges list as a WeakVH instead of as an instruction*. This fixes a broad class of dangling pointer bugs, and makes CallGraph have a number of useful invariants again. This fixes the class of problem indicated by PR4029 and PR3601. llvm-svn: 80663
* Fix typo.Owen Anderson2009-04-231-2/+1
| | | | llvm-svn: 69865
* Testcase for PR3085.Owen Anderson2009-04-231-0/+1945
| | | | llvm-svn: 69863
* Update the callgraph correctly in ArgumentPromotion.Duncan Sands2008-09-082-0/+37
| | | | llvm-svn: 55895
* Restructure ArgumentPromotion a bit. Instead of just having a single booleanMatthijs Kooijman2008-07-291-0/+25
| | | | | | | | | | | | | that says "unconditional loads from this argument are safe", we now keep track of the safety per set of indices from which loads happen. This prevents ArgPromotion from promoting loads that aren't really valid. As an added effect, this will now disregard the the type of the indices passed to a GEP, so "load GEP %A, i32 1" and "load GEP %A, i64 1" will result in a single argument, not two. This fixes PR2598, for which a testcase has been added as well. llvm-svn: 54159
* Fix two more not-grep tests that were missing llvm-dis.Dan Gohman2008-06-091-1/+1
| | | | llvm-svn: 52159
* 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
* Remove llvm-upgrade and update test cases.Tanya Lattner2008-03-015-73/+72
| | | | llvm-svn: 47793
* Don't drop function/call return attributes like 'nounwind'.Duncan Sands2008-02-011-0/+15
| | | | llvm-svn: 46645
* Fix arg promotion to propagate the correct attrs on the calls toChris Lattner2008-01-171-0/+25
| | | | | | | promoted functions. This is important for varargs calls in particular. Thanks to duncan for providing a great testcase. llvm-svn: 46108
* add a test to ensure that argpromote of one argument doesn't Chris Lattner2008-01-151-0/+26
| | | | | | break the byval attr on some other argument. llvm-svn: 46025
* Teach argpromote to ruthlessly hack small byval structs when it canChris Lattner2008-01-111-0/+24
| | | | | | | | | | | | | | | | | | | | | | get away with it, which exposes opportunities to eliminate the memory objects entirely. For example, we now compile byval.ll to: define internal void @f1(i32 %b.0, i64 %b.1) { entry: %tmp2 = add i32 %b.0, 1 ; <i32> [#uses=0] ret void } define i32 @main() nounwind { entry: call void @f1( i32 1, i64 2 ) ret i32 0 } This seems like it would trigger a lot for code that passes around small structs (e.g. SDOperand's or _Complex)... llvm-svn: 45886
* Convert .cvsignore filesJohn Criswell2007-06-291-3/+0
| | | | llvm-svn: 37801
* this test is now in Target/README.txtChris Lattner2007-05-051-17/+0
| | | | llvm-svn: 36812
* PR1319:Reid Spencer2007-04-153-4/+6
| | | | | | Upgrade tests to new Tcl exec based test harness requirements. llvm-svn: 36053
* 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-178-0/+123
llvm-svn: 33296
OpenPOWER on IntegriCloud