Commit Graph

4155 Commits

Author SHA1 Message Date
Devang Patel
fab21b0291 Fix PR number.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37107 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-16 16:51:31 +00:00
Devang Patel
f750a2b83f New test for PR1417
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37106 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-16 16:50:32 +00:00
Chris Lattner
1651871342 testcase for maskmovq
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37101 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-16 06:14:10 +00:00
Devang Patel
01b4748b39 New test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37090 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-15 23:44:27 +00:00
Chris Lattner
e0adffa2d7 add PR number and testcase from the PR.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37088 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-15 20:40:25 +00:00
Chris Lattner
decc20930d new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37087 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-15 20:29:56 +00:00
Lauro Ramos Venancio
b5bb7ffa9c Fix an infinite recursion in GetNegatedExpression.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37086 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-15 17:05:43 +00:00
Reid Spencer
f879aab10a Don't put test cases into regression test suite before the bug is fixed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37085 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-15 15:46:41 +00:00
Reid Spencer
8ff18f162b Add a test case for PR1420
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37082 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-15 06:52:15 +00:00
Chris Lattner
14fc235e17 new testcase that crashes llc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37068 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-15 01:33:12 +00:00
Chris Lattner
4b2e7acd6a testcase that crashes llc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37059 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-15 01:13:42 +00:00
Chris Lattner
24bb504e15 New testcase that crashes instcombine
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37056 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-15 00:15:49 +00:00
Chris Lattner
f2f4bb2594 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37053 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-14 22:04:16 +00:00
Evan Cheng
0dbea33fff Test for PR1406.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37051 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-14 21:12:43 +00:00
Evan Cheng
47927b3e5a New test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37048 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-14 20:47:21 +00:00
Evan Cheng
3cc94c08af Doh. .cpp -> .ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37047 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-14 20:43:28 +00:00
Lauro Ramos Venancio
69642f11ed Enable aliases on arm-linux.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37042 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-14 18:32:56 +00:00
Reid Spencer
b92cb1539f Reverse last patch .. premature. Depends on uncommitted CBE patch.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37039 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-14 17:58:52 +00:00
Reid Spencer
477e9746bb Update this test to match the (corrected) output from the CBE.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37038 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-14 17:56:39 +00:00
Chris Lattner
d2abaf55d9 this crashes globalopt
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37021 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-13 21:28:25 +00:00
Reid Spencer
45d6764ca1 Add a test case for shl of APInt integers > 64 bits by 0 shift amount.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37009 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-12 17:59:55 +00:00
Devang Patel
2194ad9067 New test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36997 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-11 23:13:19 +00:00
Reid Spencer
e41f23f93a For PR1411:
Don't try to use {} bracketing when setting a variable in site.exp


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36985 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-11 06:47:16 +00:00
Chris Lattner
2e3ce7d97a new testcase that crashes instcombine
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36983 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-11 05:55:38 +00:00
Devang Patel
e0ae022c73 Drop ModuleID from comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36982 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-11 00:45:58 +00:00
Dale Johannesen
e163e696be Another test for tail mergeing
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36967 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-10 01:04:28 +00:00
Evan Cheng
7de291aa8c Can't fold bit_convert into truncating store.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36963 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-09 21:54:34 +00:00
Anton Korobeynikov
7294b58ecd Do not assert, when case range split metric is zero and JTs are not allowed: just emit binary tree in this case. This
fixes PR1403.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36959 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-09 20:07:08 +00:00
Evan Cheng
34ab6d68f5 PR1399 test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36957 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-09 19:20:37 +00:00
Duncan Sands
9fbc5b247c Testcase for
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070507/049387.html


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36956 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-09 08:41:26 +00:00
Devang Patel
7ab11fb8eb New test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36954 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-09 08:19:24 +00:00
Devang Patel
9095da2ff5 New test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36953 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-09 08:08:46 +00:00
Chris Lattner
a7a5bad38c add the & back. I'm not sure why bill removed it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36945 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-08 20:08:06 +00:00
Devang Patel
74935ca374 New test for PR1400
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36941 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-08 18:08:20 +00:00
Dale Johannesen
fe252f38dd testcase for CodeGenPrepare bug fixed yesterday
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36940 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-08 17:44:36 +00:00
Bill Wendling
e8a9054a50 Spare '&' in the RUN line.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36933 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-08 07:49:07 +00:00
Devang Patel
a18624057f New test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36930 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-08 06:10:12 +00:00
Chris Lattner
b64c2c8a2a move this out of Codegen/Generic, because it requires the ARM backend to be
linked into llc


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36919 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-08 02:19:56 +00:00
Chris Lattner
938ef6f0eb move to CodeGen/ARM/2007-05-07-tailmerge-1.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36918 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-08 02:13:52 +00:00
Evan Cheng
fd4dbf78ae Fix tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36913 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-07 21:50:07 +00:00
Evan Cheng
070549eb9c Add some tests for (conv (load x)) -> (load (conv*)x) xform.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36912 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-07 21:49:35 +00:00
Evan Cheng
6b95e98e50 Fix test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36911 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-07 21:38:05 +00:00
Dale Johannesen
7d33b4c59b Handle some non-exit blocks in tail merging.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36907 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-07 20:57:21 +00:00
Duncan Sands
df8b1f0e8e Testcase for PR1398.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36905 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-07 20:45:20 +00:00
Chris Lattner
51eeb6e536 remove libbzip2 from this. This should use llvm-config or something.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36879 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-06 19:21:48 +00:00
Duncan Sands
56a837be5e Testcase for yet another global constant Ada f-e bug.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36874 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-06 16:20:30 +00:00
Lauro Ramos Venancio
8f57667a5d Fix PR1390.
Don't spill extra register to align the stack.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36814 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-05 23:44:41 +00:00
Chris Lattner
677f7eeb39 this test is now in Target/README.txt
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36812 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-05 22:44:27 +00:00
Chris Lattner
86c7745fb4 remove an old xfailed test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36810 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-05 22:42:02 +00:00
Chris Lattner
a993dd0cfc un-xfail this.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36808 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-05 22:41:13 +00:00
Chris Lattner
581f84f4cb move these xfailed tests to lib/Target/README.txt
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36805 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-05 22:28:33 +00:00
Chris Lattner
514630f41f Move Mem2Reg/DifferingTypes.ll -> ScalarRepl/DifferingTypes.ll. -scalarrepl
implements this xform.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36804 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-05 22:22:03 +00:00
Chris Lattner
fe09dd477f remvoe two tests that cee has never gotten right
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36803 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-05 22:19:49 +00:00
Chris Lattner
23f7f5898e the sparc v8 backend handles this correctly
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36801 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-05 22:12:57 +00:00
Chris Lattner
2947fd50cb remove this xfail'd test, move it to the X86 readme.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36800 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-05 22:10:53 +00:00
Chris Lattner
60ef91a3ce We need support for tail calls, this is moved to PR1392
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36798 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-05 22:03:12 +00:00
Chris Lattner
2d4a5abb75 remove xfailed testcase (attached to pr)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36797 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-05 21:57:34 +00:00
Chris Lattner
2db395600f unxfail this, llc doesn't support this feature yet, so don't run it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36796 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-05 21:51:34 +00:00
Chris Lattner
36f24cb46d Remove bogus testcase, PR409 is wontfix
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36795 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-05 21:49:24 +00:00
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
Reid Spencer
722bdf6633 For PR1336:
Un-XFAIL this since it now passes with fix to llvm-upgrade.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36104 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 02:57:47 +00:00
Reid Spencer
1cd9d77a7d For PR1336:
Correct this test case. It was passing a uint where a ubyte was expected.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36101 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 02:09:24 +00:00
Reid Spencer
a37e588667 For PR1336:
Un-XFAIL this now that its working.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36100 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 01:49:16 +00:00
Reid Spencer
cc1731c36b For PR1336:
This test was failing because of signlessness and a difference in the
way the AsmWriter prints arguments.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36098 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 01:31:11 +00:00
Reid Spencer
2a99196359 For PR1336:
De-XFAIL tests now passing.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36097 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 00:41:11 +00:00
Reid Spencer
4575ab2186 For PR1336:
XFAIL tests covered by the PR. These will be un-XFAILed as they are fixed.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36093 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-15 23:00:46 +00:00
Reid Spencer
42e86fb1e6 For PR1319: Upgrade to new test harness.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36092 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-15 22:37:04 +00:00
Reid Spencer
d3b1f6d3e0 For PR1319: Upgrade to new test harness.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36091 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-15 22:20:47 +00:00
Chris Lattner
004ca2d5b4 testcase for PR1335
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36089 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-15 21:37:53 +00:00
Chris Lattner
9b63ceeada this test isn't testing what it thought it was
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36088 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-15 21:33:36 +00:00
Reid Spencer
c58ef0185b For PR1319: Upgrade to new test harness.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36087 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-15 21:17:45 +00:00
Reid Spencer
97e287ef8a For PR1319: Upgrade to new test harness.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36086 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-15 20:48:50 +00:00
Reid Spencer
fb7653e3ee Two changes:
1. Don't bother truncating reading of the file. It doesn't save that much
   time and we should support putting RUN lines anywhere in the file. For
   example, someone might want to put the grep match before each function
   in the test file which would sprinkle the RUN: lines throughout the file.
2. Fix a bug with llvmgcc version match .. global var wasn't declared as such


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36085 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-15 20:43:36 +00:00
Reid Spencer
358f3275cc For PR1319: Upgrade to new test harness.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36084 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-15 20:41:31 +00:00
Reid Spencer
6b2e2be2e4 Some tests have really long RUN line sets. Read the first 4096 bytes instead
of 1024.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36083 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-15 20:31:42 +00:00
Reid Spencer
dcb925e917 For PR1319: Upgrade to new test harness.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36082 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-15 20:08:37 +00:00
Reid Spencer
2bd55af292 For PR1319: Upgrade to new test harness.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36080 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-15 19:35:51 +00:00
Reid Spencer
a99800c77f Make this test work.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36079 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-15 19:28:23 +00:00
Reid Spencer
470f260577 We don't need the path to be set for llvmgcc/llvmgxx any more.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36078 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-15 19:27:27 +00:00
Reid Spencer
a2c72b52e4 For PR1319: Upgrade to use new test harness
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36077 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-15 19:21:54 +00:00
Reid Spencer
1c0c94d6df For PR1319: Upgrade to use new test harness
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36076 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-15 19:11:47 +00:00
Reid Spencer
65f47a3a05 For PR1319: Upgrade to use new test harness
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36075 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-15 18:40:57 +00:00
Reid Spencer
601e845d60 Allow lines that have \ and end in \ to be recognized as ending in \
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36074 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-15 18:38:42 +00:00
Reid Spencer
edca80b5e8 For PR1319: Upgrade to new test harness
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36073 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-15 18:11:57 +00:00
Nick Lewycky
c3c65d0905 Fix this test to test what it was intended to test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36072 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-15 13:14:33 +00:00
Reid Spencer
66959cecdb Two improvements:
1. Only read the first 1024 bytes of the file. The RUN: lines should all be
   within that amount of space.  This keeps I/O costs down when reading
   very large files.
2. Print PR numbers with a PR prefix so it is clear what they are.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36071 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-15 10:27:54 +00:00
Reid Spencer
a9338b6195 For PR1319: Upgrade to new test harness
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36070 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-15 10:26:05 +00:00
Reid Spencer
b9e8a948bb For PR1319: Upgrade to new test harness
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36069 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-15 10:11:13 +00:00
Reid Spencer
35aa22e808 For PR1319:
Update to new Tcl exec based test harness.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36068 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-15 10:09:30 +00:00
Reid Spencer
90008f4bee For PR1319:
Upgrade to new Tcl exec based test framework. This exposes three regressions
in llvm-upgrade:
test/Assembler/2002-08-19-BytecodeReader.llx
test/Assembler/2003-08-21-ConstantExprCast-Fold.llx
test/Assembler/2004-01-11-getelementptrfolding.llx


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36067 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-15 10:07:55 +00:00
Reid Spencer
b477f7dd65 For PR1319:
Upgrade to use new Tcl exec based test harness.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36066 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-15 09:31:07 +00:00
Reid Spencer
9aafdcf20d For PR1319:
Upgrade to use new Tcl exec based test harness. This exposes 3 bugs that
were previously not being reported:
test/Transforms/GlobalDCE/2002-08-17-FunctionDGE.ll
test/Transforms/GlobalOpt/memset.ll
test/Transforms/IndVarsSimplify/exit_value_tests.llx


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36065 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-15 09:21:47 +00:00
Owen Anderson
e9bbaa2293 Update tests for the disappearance of -idom.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36064 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-15 08:54:57 +00:00
Reid Spencer
2aabd0722d For PR1319:
Upgrade to use new Tcl exec based test harness.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36062 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-15 08:30:33 +00:00
Reid Spencer
08af6fd5fc For PR1319:
Convert to use the new Tcl expr based test harness.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36061 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-15 08:01:33 +00:00
Reid Spencer
7c65d4345e For PR1319:
Make use of the END. facility on all files > 1K so that we aren't wasting CPU
cycles searching for RUN: lines that we'll never find.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36059 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-15 07:38:21 +00:00
Reid Spencer
a20c22f190 Fix this test in a slightly more obvious way.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36058 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-15 07:37:04 +00:00
Reid Spencer
b0feffae1d No, don't cancel all remaining tests, just the one that failed!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36057 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-15 07:34:58 +00:00
Reid Spencer
0947df4606 Abandone the entire test case on the first error.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36056 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-15 07:21:26 +00:00
Reid Spencer
ca5d9ca748 For PR1319:
Upgrade to use new Tcl exec based test harness


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36055 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-15 06:53:51 +00:00
Reid Spencer
0742a40cae Use %prcontext, $prcontext is not resolving for some reason.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36054 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-15 06:52:45 +00:00