Commit Graph

3996 Commits

Author SHA1 Message Date
Chris Lattner
d6b740f3e8 this tests for a missing feature. Move it to PR1391 instead of being an
xfailed testcase


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36794 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-05 21:47:29 +00:00
Chris Lattner
e9f0f48272 remove this xfailed testcase, move it into a comment in PR279, an enhancement PR.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36793 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-05 21:38:55 +00:00
Chris Lattner
5f2a3df54d llvm-gcc3 is gone
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36792 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-05 21:35:44 +00:00
Chris Lattner
6169f85e4a fix failure on ahs3's tester
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36791 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-05 20:50:35 +00:00
Chris Lattner
19292a447c remove bogus xfailed testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36790 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-05 20:49:28 +00:00
Duncan Sands
9426caa8b2 Check that the right eh personality function is used.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36788 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-05 20:22:08 +00:00
Chris Lattner
09d933fdbd new testcase for PR1371
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36786 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-05 19:38:43 +00:00
Chris Lattner
823572d44d new testcase for PR1385
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36783 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-05 18:48:52 +00:00
Chris Lattner
51e04da381 new testacse for PR1384
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36774 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-05 01:59:05 +00:00
Duncan Sands
f0799fe155 Test that the eh lowering code can handle constant folded bitcasts.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36746 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-04 17:14:42 +00:00
Reid Spencer
0504744409 Add a test case for testing the LLI interpreter wrt bitcast of fp to integer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36732 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-04 03:35:17 +00:00
Chris Lattner
38e94b2d06 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36722 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-04 00:51:23 +00:00
Evan Cheng
8535072e88 Test load global in static mode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36719 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-04 00:29:34 +00:00
Evan Cheng
874ebada58 New test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36717 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-03 23:53:36 +00:00
Dale Johannesen
4ac075c859 Evan's patch to avoid FPreg->intreg copy for cvt; store to mem
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36693 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-03 20:54:42 +00:00
Evan Cheng
b2ef40c36f negatize -> negative
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36683 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-03 18:20:17 +00:00
Chris Lattner
b0d151540d new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36671 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-03 16:54:08 +00:00
Devang Patel
10c9a8211d New test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36661 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-03 00:42:22 +00:00
Chris Lattner
f972db0f4f match a reassociated form of fnmul
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36659 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-03 00:31:40 +00:00
Duncan Sands
d60a18dfbc Test that TREE_CONSTANT is being set correctly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36645 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-02 07:43:14 +00:00
Duncan Sands
00d4bc0aa8 Test that inline assembler compiles (llvm-gcc added an extra "uses" parameter
to ASM_EXPR).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36644 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-02 07:41:22 +00:00
Duncan Sands
ecf05ca83e Test handling of TRY_CATCH_EXPRs for which the handler is a sequence of
ordinary statements, rather than a list of CATCH_EXPRs or an EH_FILTER_EXPR.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36629 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-01 18:49:30 +00:00
Reid Spencer
9dd446c561 Split target dependent test portions to target-specific directories.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36612 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-01 02:56:15 +00:00
Evan Cheng
43d44f036c Test a dag combiner crasher.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36605 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-01 00:40:38 +00:00
Chris Lattner
045a9278b8 testcase for PR1228
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36601 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-30 23:34:46 +00:00
Chris Lattner
27679be2c0 testcase for PR1357
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36598 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-30 21:10:13 +00:00
Reid Spencer
4274e40514 For PR1370:
Rearrange some tests so that if PowerPC is not being built we don't try to
run PowerPC specific tests.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36587 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-30 05:11:58 +00:00
Chris Lattner
1d81d88fe3 not all targets want to return an i32. What really matters is whether llc accepts the generated code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36569 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-29 18:59:01 +00:00
Anton Korobeynikov
21beed669e Updated aliases test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36558 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-29 10:34:42 +00:00
Anton Korobeynikov
a80e1181b7 Implement review feedback. Aliasees can be either GlobalValue's or
bitcasts of them.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36537 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-28 13:45:00 +00:00
Chris Lattner
c44f3ea172 new testcase for PR1356
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36535 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-28 06:41:13 +00:00
Chris Lattner
15c928640d ensure the operand prints.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36533 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-28 06:07:55 +00:00
Chris Lattner
5bee46d8e3 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36532 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-28 06:05:59 +00:00
Chris Lattner
93e3d8f308 update syntax
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36531 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-28 06:03:12 +00:00
Chris Lattner
83f241ec61 not fully implemented yet.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36530 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-28 06:02:13 +00:00
Chris Lattner
827a1f45c5 update for new inline asm syntax
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36526 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-28 05:20:26 +00:00
Chris Lattner
947780b1f9 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36520 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-28 00:54:45 +00:00
Lauro Ramos Venancio
2a3779966f fix the test tls1.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36517 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-27 21:23:17 +00:00
Lauro Ramos Venancio
1bd151a851 add TLS tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36516 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-27 21:08:48 +00:00
Lauro Ramos Venancio
fdc9692f97 In Thumb mode, the frame register must be R7.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36512 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-27 17:58:03 +00:00
Chris Lattner
85f777946e make this testcase harder, to cover PR1326
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36509 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-27 17:12:23 +00:00
Duncan Sands
c88725fe21 Test that eh_selector lowering accepts global variables as well as bitcasts
of global variables.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36500 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-27 06:56:53 +00:00
Anton Korobeynikov
3d18d64089 Unxfail tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36497 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-26 21:20:04 +00:00
Dan Gohman
330ce44af6 testcase for PR1339: http://llvm.org/PR1339
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36492 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-26 21:04:39 +00:00
Anton Korobeynikov
566dfcbf98 Add test to proper place. Also, XFAIL until ppc bootstrap will be ok.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36491 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-26 20:49:05 +00:00
Anton Korobeynikov
ab8fd40403 Fixx off-by-one bug, which prevents llvm-gcc bootstrap on ppc32
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36490 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-26 20:44:04 +00:00
Andrew Lenharth
b7522c7a7c An example for PR1362
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36484 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-26 19:28:33 +00:00
Zhou Sheng
fc24a72d9e Add two test cases to cover apintification change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36476 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-26 16:44:48 +00:00
Chris Lattner
5fc30dfe71 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36468 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-26 05:28:45 +00:00
Reid Spencer
0e72512a6c For PR1355:
Make the script process multiple files and describe its usage properly.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36466 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-26 03:59:24 +00:00
Evan Cheng
37a21457bf PR1348 test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36457 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-26 01:14:14 +00:00
Evan Cheng
0f8ad0d180 New test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36455 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-26 00:07:36 +00:00
Chris Lattner
0bc2f48d6f && no longer needed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36453 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-25 22:32:55 +00:00
Bill Wendling
a03f1e3b0c Testcase for codegen bug.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36450 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-25 21:58:17 +00:00
Lauro Ramos Venancio
305b8a5f62 remember to emit weak reference in one more case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36438 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-25 14:50:40 +00:00
Anton Korobeynikov
8b0a8c84da Implement aliases. This fixes PR1017 and it's dependent bugs. CFE part
will follow.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36435 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-25 14:27:10 +00:00
Chris Lattner
54c4d40beb new testcase, should be able to eliminate the alloca and memcpy
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36428 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-25 06:29:34 +00:00
Chris Lattner
4aa8495de7 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36418 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-25 01:51:33 +00:00
Devang Patel
193b585f1b New test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36416 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-25 00:35:37 +00:00
Chris Lattner
5fa4c43f14 testcase for PR1352
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36415 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-25 00:26:05 +00:00
Chris Lattner
3d4a548978 new testcase that crashes llc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36412 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-25 00:00:12 +00:00
Chris Lattner
10161db780 testcase for PR1351
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36409 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-24 22:49:57 +00:00
Bill Wendling
b635d3faac Testcases for MMX.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36408 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-24 22:28:30 +00:00
Devang Patel
93675f4cdd New test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36401 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-24 21:05:52 +00:00
Devang Patel
d53b69d9c2 New test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36400 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-24 19:24:39 +00:00
Devang Patel
9690809ddd New test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36379 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-23 22:39:53 +00:00
Reid Spencer
4f6e9ab3d7 Dan is right, using "string first" would produce false positives. So,
devolve the check to a comparison against each component in the string.
Fortunately there isn't many of them.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36376 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-23 21:21:53 +00:00
Lauro Ramos Venancio
0a2cdb687b Add TLS tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36360 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-23 01:29:35 +00:00
Andrew Lenharth
007ce3b336 simplify this test until it can be dealt with
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36351 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-22 20:58:56 +00:00
Reid Spencer
3dc662c5db Fix the comparison of language names to accept any characters by using
"string first" instead of "regexp match". This helps C++ tests get executed.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36339 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-22 14:14:11 +00:00
Reid Spencer
749456dee4 Make running these tests conditional on llvm-gcc supporting the language
of these test cases.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36328 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-22 05:53:18 +00:00
Reid Spencer
4f859aa532 For PR1146:
Make ParamAttrsList objects unique. You can no longer directly create or
destroy them but instead must go through the ParamAttrsList::get()
interface.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36327 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-22 05:46:44 +00:00
Lauro Ramos Venancio
0ae4a3357a Implement PIC for arm-linux.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36324 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-22 00:04:12 +00:00
Reid Spencer
88894b6c40 Add a .cvsignore file.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36323 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-21 21:53:04 +00:00
Reid Spencer
12d81f3ff4 Replace llvm_gcc_supports_ada and llvm_gcc_supports_objc with just a single
llvm_gcc_supports function that takes the language as an argument. Base that
function on the new LLVMGCC_LANGS configured variable so that we don't have
to execute feature checks during the test run.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36322 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-21 21:45:51 +00:00
Reid Spencer
51162baae1 Pass the LLVMGCC_LANGS variable through to Tcl.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36321 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-21 21:43:18 +00:00
Reid Spencer
7022d1fb2d llvm-dg.exp is dead, remove it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36317 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-21 20:48:14 +00:00
Reid Spencer
a9f7bc8812 Failure.sh is dead, remove it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36316 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-21 20:46:55 +00:00
Reid Spencer
16154ef9f9 Use the llvm_supports_target function to prevent running of tests for
targets that LLVM is not configured to support.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36315 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-21 20:41:27 +00:00
Reid Spencer
40a4c61cb7 Add the llvm_supports_target function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36314 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-21 20:40:17 +00:00
Reid Spencer
e5190d2851 Add the TARGETS_TO_BUILD variable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36313 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-21 20:39:26 +00:00
Duncan Sands
4e9471d3d9 Test if the compiler supports Ada, and enable Ada tests if so. While I was
there, delete a temporary file the objc test forgot to delete.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36312 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-21 20:20:47 +00:00
Reid Spencer
6cdf4a93a7 Always print the same "PR" information in the same location (just after
the test name) in all cases (PASS, XPASS, FAIL, XFAIL). This makes the
output consistent and more amenable to parsing by nightly test.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36311 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-21 18:53:12 +00:00
Reid Spencer
1e55bf251c Put failure information on a separate line. Hopefully this unbreaks the
nightly tester which expects the FAIL: line to only have the test name on
it.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36310 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-21 18:46:52 +00:00
Christopher Lamb
2330e4d4c4 add support for alignment attributes on load/store instructions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36301 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-21 08:16:25 +00:00
Chris Lattner
e1d89558b4 make this portable to 64-bit hosts
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36297 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-21 03:35:28 +00:00
Devang Patel
4fc82a6e43 New test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36293 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-21 00:34:37 +00:00
Devang Patel
9fe9907ff9 Enable Objective-C tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36281 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-20 21:24:01 +00:00
Christopher Lamb
ac79c9e6e0 Test check in
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36269 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-20 05:05:24 +00:00
Evan Cheng
ae1998f32c Fix test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36266 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-20 00:45:36 +00:00
Chris Lattner
1e6cf8630f new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36243 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-18 03:04:37 +00:00
Evan Cheng
919184867c New crasher test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36241 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-18 02:35:10 +00:00
Devang Patel
7d87c1476a New test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36235 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-18 00:51:43 +00:00
Chris Lattner
a00a5b95e7 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36230 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-17 23:43:31 +00:00
Chris Lattner
e54ec7ab0f new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36220 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-17 21:12:26 +00:00
Duncan Sands
f24d87c733 Use // not ; since this is C.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36219 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-17 20:50:33 +00:00
Devang Patel
58ff012539 New test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36217 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-17 20:29:12 +00:00
Chris Lattner
84e8315aaa new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36211 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-17 19:03:02 +00:00
Anton Korobeynikov
57fc00d5cf Implemented correct stack probing on mingw/cygwin for dynamic alloca's.
Also, fixed static case in presence of eax livin. This fixes PR331

PS: Why don't we still have push/pop instructions? :)


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36195 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-17 09:20:00 +00:00
Jeff Cohen
56398e39d7 Make it work on 64-bit systems.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36194 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-17 05:48:35 +00:00
Andrew Lenharth
0644309e0d this is fixed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36190 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-17 04:07:27 +00:00
Devang Patel
253f7fe77e Add PR number for reference.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36184 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 23:52:37 +00:00
Devang Patel
b6b40ebc83 New test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36181 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 23:02:22 +00:00
Reid Spencer
c657d2f688 Fix this test from Duncan's experiment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36176 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 21:57:14 +00:00
Reid Spencer
b579650f01 Also validate that the code generation of IntrinsicLowering for LLI works.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36175 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 21:52:56 +00:00
Chris Lattner
8f9a0ff495 refix this
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36172 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 21:30:21 +00:00
Chris Lattner
3b317e5e7f use an x86 t-t for an x86 test. Thanks to Dan for noticing this!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36170 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 21:26:37 +00:00
Chris Lattner
d463e0727d fix incorrectly upgraded test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36169 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 21:24:14 +00:00
Chris Lattner
45fdfb651b We shouldn't have tests for features we don't have yet.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36167 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 21:22:58 +00:00
Chris Lattner
05c34253f5 remove bogus test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36166 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 21:20:27 +00:00
Duncan Sands
3724df3132 Spelling fix.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36165 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 21:19:45 +00:00
Chris Lattner
c27b4eff5c MAke this test portable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36164 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 21:18:56 +00:00
Duncan Sands
6852c616ed Test code quality for variable length array references.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36163 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 21:13:57 +00:00
Duncan Sands
6339d4ab67 Check handling of arrays of variable sized components.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36162 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 21:12:03 +00:00
Anton Korobeynikov
beabc2698e Heal this test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36161 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 21:07:00 +00:00
Chris Lattner
4da9fd79f7 fix this test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36160 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 21:05:37 +00:00
Evan Cheng
b71ccac03a Fixes tests and remove xfail.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36152 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 20:04:11 +00:00
Evan Cheng
4447934534 One more callee-saved register used.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36151 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 18:59:25 +00:00
Evan Cheng
8a5a75eb0f Fix test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36150 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 18:55:46 +00:00
Duncan Sands
62dc4dd522 Testcase for C front-end crash.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36148 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 18:51:13 +00:00
Duncan Sands
6937c9ae6f Testcase for debug info emission for structure fields at variable offsets.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36147 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 18:49:21 +00:00
Reid Spencer
892299ccf4 For PR1336:
Un-XFAIL because this passes now.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36145 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 17:51:25 +00:00
Reid Spencer
eb1d74e0c8 For PR1319:
Remove && from the end of the lines to prevent tests from throwing run
lines into the background. Also, clean up places where the same command
is run multiple times by using a temporary file.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36142 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 17:36:08 +00:00
Lauro Ramos Venancio
725aed3407 Fix hello.ll test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36141 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 17:08:00 +00:00
Lauro Ramos Venancio
3138b8995f Fix align test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36140 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 16:57:47 +00:00
Duncan Sands
64609d341e Look for site.exp in the build directory, not the source directory.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36138 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 16:45:12 +00:00
Duncan Sands
0829a30f26 Use %s, not explicit name.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36136 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 16:06:17 +00:00
Duncan Sands
25d50d6f6a Change ne into !=.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36135 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 15:37:00 +00:00
Reid Spencer
43b40035ba For PR1319:
Fix syntax of tests to ensure grep pattern is properly quoted.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36134 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 15:31:49 +00:00
Reid Spencer
4cda190ef5 For PR1319:
Fix test syntax per new rules.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36133 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 15:15:52 +00:00
Reid Spencer
3401c99889 Fix the syntax for these tests. Noticed by Duncan Sands.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36132 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 15:00:39 +00:00
Reid Spencer
90b707f51e Syntax upgrade and fix for PR1336.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36131 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 14:46:17 +00:00
Reid Spencer
264225f982 For PR1336:
Rename test functions to not conflict with an instruction mnemonic.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36130 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 14:23:07 +00:00
Reid Spencer
bc243932a3 For PR1336:
Ignore case for instruction mnemonic comparison.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36129 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 14:20:28 +00:00
Reid Spencer
97d7a588a8 Wrap long line.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36128 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 14:17:04 +00:00
Reid Spencer
afc64e4da0 For PR1336:
Ignore case for register name compare.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36127 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 14:14:31 +00:00
Reid Spencer
57910836bd For PR1336:
Un-XFAIL as Alpha feature now specified in lower case.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36126 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 14:07:53 +00:00
Reid Spencer
c7dcd7f604 Test case for PR1328.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36119 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 06:52:21 +00:00
Chris Lattner
2911090cdf make this test more portable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36118 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 06:14:28 +00:00
Chris Lattner
ae88e984bb fix incorrectly upgraded test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36117 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 06:10:47 +00:00
Chris Lattner
b01b15a5e8 remove a bogus test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36116 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 06:06:42 +00:00
Chris Lattner
bd19d27bba update test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36115 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 06:04:03 +00:00
Chris Lattner
6ab5d5d2b0 fix incorrectly upgraded test, add PR#
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36114 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 05:58:47 +00:00
Reid Spencer
678873a73d This needs to stay in the old bytecode format.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36113 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 03:35:24 +00:00
Reid Spencer
bf3b4b2dde This tests aren't particularly interesting. They are redundant with the
extract_* tests. They are also perniciously difficult to maintain because
they depend on the bytecode format.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36112 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 03:34:01 +00:00
Reid Spencer
44242ec5d0 Update for 2.0 bytecode format.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36111 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 03:28:07 +00:00
Reid Spencer
18afa65788 Fix an intrinsic name.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36110 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 03:20:22 +00:00
Reid Spencer
a529f6f443 For PR1336:
Rename the intrinsic so this can be upgraded properly. It still fails with
an llc warning


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36109 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 03:18:25 +00:00
Reid Spencer
f9dd33268d For PR1336:
Upgrade the intrinsic to its new form.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36108 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 03:10:56 +00:00
Reid Spencer
296ba1bd9e For PR1336:
Un-XFAIL this test now that llvm-ugprade knows how to create functions with
empty names.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36107 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 03:06:39 +00:00