Commit Graph

38 Commits

Author SHA1 Message Date
Chris Lattner
de1618f1bb Update gc intrinsics to take pointer to object as well as pointer to field.
Patch contributed by Tobias Nurmiranta


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15094 91177308-0d34-0410-b5e6-96231b3b80d8
2004-07-22 05:48:38 +00:00
Chris Lattner
dfde14ef5a New testcase for constant expression lowering pass, contributed by Vladimir Prus!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14398 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-25 07:47:13 +00:00
Reid Spencer
7dde37df55 Make the test pass by using the correct RUN: syntax.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13848 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-27 20:49:16 +00:00
Reid Spencer
77ac9ed814 Added a "RUN:" line so this file can be executed by TestRunner.sh
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13829 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-27 08:28:42 +00:00
Chris Lattner
56fff59841 gc_init now gets an argument
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13816 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-27 05:51:00 +00:00
Chris Lattner
4cb1f3c10d Add a simple testcase for garbage collection support
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13697 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-23 21:24:50 +00:00
Chris Lattner
02eac39359 Testcase for PR337, which was reduced by Reid Spencer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13443 91177308-0d34-0410-b5e6-96231b3b80d8
2004-05-10 05:11:24 +00:00
Chris Lattner
8b3df485d5 New file that can be useful for hand inspection of assembly required for certain
kinds of instructions.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12746 91177308-0d34-0410-b5e6-96231b3b80d8
2004-04-07 05:06:39 +00:00
Chris Lattner
6a135f2e8c New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12738 91177308-0d34-0410-b5e6-96231b3b80d8
2004-04-07 04:08:21 +00:00
Brian Gaeke
3d55eda9da Unbreak this test case - llvm-as no longer tolerates redefining names in any
given type plane.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10169 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-22 06:18:35 +00:00
John Criswell
cf21d4fe70 Renamed these tests so that they don't contain extra periods.
This interferes with QMTest and the new test database.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8838 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-03 18:24:47 +00:00
Chris Lattner
30e2d91b47 Update testcases to be more modern
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8420 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-09 18:14:37 +00:00
Vikram S. Adve
46721dde71 Regression test for incorrect character emitted to char array.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7379 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-29 14:02:40 +00:00
Vikram S. Adve
7172a59631 *** empty log message ***
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7150 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-10 19:32:38 +00:00
Vikram S. Adve
6781cd2bf3 Just documentation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7149 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-10 19:31:26 +00:00
Vikram S. Adve
f2e343b2da *** empty log message ***
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7126 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-08 15:39:02 +00:00
Vikram S. Adve
6e5031e0b8 Regression test for bug in reg. allocation that was using %xcc instead
of %icc even for 32-bit and smaller comparisons.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7110 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-06 20:12:18 +00:00
Vikram S. Adve
162421522b 3 more bugs from the SPEC codes and from richards_benchmark.c
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6458 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-31 04:45:56 +00:00
Vikram S. Adve
bd6161d401 Three kinds of boolean values handled incorrectly:
-- setCC of FP type used by a Phi: have to save in reg.
-- setNE of FP type used by a branch: cannot use result directly in branch!
-- setCC used outside the same basic block: have to save in reg. for now


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6382 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-28 13:54:41 +00:00
Chris Lattner
1fbaa0a1ef Cleanup testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5292 91177308-0d34-0410-b5e6-96231b3b80d8
2003-01-15 18:06:37 +00:00
Vikram S. Adve
8becaedfa8 Test case that shows some poor results for register allocation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4167 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-14 14:53:06 +00:00
Vikram S. Adve
f289911a6c Add a test for folding a GEP into a load.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4139 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-13 00:44:00 +00:00
Vikram S. Adve
925ad19292 On this code, llc did not pass the sixth argument (%reg321) to printf.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3986 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-30 16:14:14 +00:00
Vikram S. Adve
d28c8c801e Regression test for llc bug that was folding two getelementptrs illegally.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3971 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-28 18:09:05 +00:00
Vikram S. Adve
0188ce4543 Regression test for live range bug for call arguments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3962 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-28 16:51:47 +00:00
Vikram S. Adve
ba3b3e86d1 Fix to avoid addition on pointers, which is no longer legal.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3850 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-20 00:57:37 +00:00
Vikram S. Adve
ddd575101d Add functions castbool and boolexpr.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3448 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-22 03:05:13 +00:00
Chris Lattner
cdfe870a1f Fix store to not index
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3429 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-21 22:45:23 +00:00
Chris Lattner
236c4a33af Convert testcase to not use indexing on loads & stores
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3428 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-21 22:44:39 +00:00
Vikram S. Adve
0f63e22e84 Add tests for unary NOT operations.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3340 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-15 14:09:56 +00:00
Chris Lattner
d022471260 *** empty log message ***
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3333 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-14 19:29:38 +00:00
Vikram S. Adve
7894d56023 Add a sequence of GEPs with constant indices, for folding.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3247 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-04 20:53:14 +00:00
Chris Lattner
d86cbea0fb Fix broken testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3202 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-01 20:50:03 +00:00
Chris Lattner
92ae901d9e Make testcase legal LLVM
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3201 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-01 20:48:21 +00:00
Chris Lattner
9067068c35 Fix broken test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2867 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-10 22:31:09 +00:00
Vikram S. Adve
a7a1c7e971 Some of these are feature tests, not regression tests.
This directory needs to be reorganized and some of the tests
need changes to make them executable.  Also comments would help...


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2865 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-10 21:54:05 +00:00
Chris Lattner
7523a107d9 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2262 91177308-0d34-0410-b5e6-96231b3b80d8
2002-04-16 05:58:24 +00:00
Chris Lattner
b42b7f921a Checkin first unit testcases for the backend
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2249 91177308-0d34-0410-b5e6-96231b3b80d8
2002-04-14 06:23:00 +00:00