1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-28 22:42:52 +01:00
Commit Graph

4229 Commits

Author SHA1 Message Date
Chris Lattner
0e4a85056d new testcase, the inliner shouldn't inline this.
llvm-svn: 37722
2007-06-25 21:49:53 +00:00
Owen Anderson
18e5df298f Rename variables to expose the fact that this test is failing.
llvm-svn: 37711
2007-06-24 08:17:41 +00:00
Evan Cheng
e139181e1c Fix tests.
llvm-svn: 37693
2007-06-21 18:22:42 +00:00
Chris Lattner
cbb352b293 new testcase miscompiled by instcombine, reduced from perl
llvm-svn: 37691
2007-06-21 18:09:25 +00:00
Evan Cheng
56938a1fd8 New tests.
llvm-svn: 37686
2007-06-21 07:40:00 +00:00
Evan Cheng
d9dca9363c Added some if-conversion tests.
llvm-svn: 37672
2007-06-20 18:26:15 +00:00
Owen Anderson
8cb2c3f5df Testcase for instances where a constant only occurs as an operand to a phi node.
llvm-svn: 37653
2007-06-19 05:55:01 +00:00
Owen Anderson
4a0cde1b5b Add a new testcase for memory corruption issues.
llvm-svn: 37648
2007-06-19 05:41:22 +00:00
Chris Lattner
cff3e1bbe5 testcase for PR1513
llvm-svn: 37638
2007-06-19 00:08:42 +00:00
Evan Cheng
f1397aafd9 New test case: identity operation of RHS / LHS of a VECTOR_SHUFFLE.
llvm-svn: 37637
2007-06-19 00:06:08 +00:00
Tanya Lattner
fedfcab2ab Modify annotate intrinsic to take 2 additional args: file and line number.
Fix up Annotate attribute test case.
Fix DebugFilename.c test case to look for right file name.

llvm-svn: 37632
2007-06-18 22:23:39 +00:00
Chris Lattner
4534df9032 ensure we don't regress on these tests. We generate aweful code in x86-32 for
these though.

llvm-svn: 37619
2007-06-17 23:29:57 +00:00
Bill Wendling
ad8326e004 XFAILing until I can fix properly.
llvm-svn: 37618
2007-06-16 23:57:51 +00:00
Nick Lewycky
d498cbd4a9 Call the correct function name. Patch from Stephane Letz.
llvm-svn: 37614
2007-06-16 16:17:35 +00:00
Bill Wendling
e90b29f646 Testcase for MMX int to MMX register failure.
llvm-svn: 37612
2007-06-16 06:31:47 +00:00
Owen Anderson
eb5063e92f Testcase where GVNPRE was getting confused by invoke instructions.
llvm-svn: 37609
2007-06-16 00:25:10 +00:00
Tanya Lattner
d0ed17d5fa test case for annotate attribute
llvm-svn: 37604
2007-06-15 20:52:47 +00:00
Chris Lattner
f75572a776 make this test harder, include a tied register.
llvm-svn: 37600
2007-06-15 19:09:53 +00:00
Duncan Sands
deef6fe78b Workaround for PR1508.
llvm-svn: 37597
2007-06-15 19:04:19 +00:00
Owen Anderson
ae1d13f311 Add a testcase where GVNPRE what getting confused by a loop.
llvm-svn: 37594
2007-06-15 17:54:05 +00:00
Duncan Sands
5c0ffc7551 Use "ignore" rather than grep tricks.
llvm-svn: 37592
2007-06-15 17:13:53 +00:00
Chris Lattner
8ac4acdd56 add vector versions of this test
llvm-svn: 37588
2007-06-15 06:22:32 +00:00
Chris Lattner
85890d8d1d testcase for PR1510
llvm-svn: 37583
2007-06-15 05:57:20 +00:00
Dale Johannesen
62f49dd524 Do not treat FP_REG_KILL as terminator in branch analysis (X86).
llvm-svn: 37578
2007-06-14 22:03:45 +00:00
Owen Anderson
ebfbf95080 Add a test where phi translation was producing a null result.
llvm-svn: 37563
2007-06-12 22:42:35 +00:00
Owen Anderson
4cafa9ccd2 Testcase where GVNPRE crashes on functions with no exit nodes.
llvm-svn: 37555
2007-06-12 16:56:00 +00:00
Owen Anderson
6947941199 Make the run line for this test correct. Thanks to Chris for spotting it.
llvm-svn: 37552
2007-06-12 04:40:48 +00:00
Owen Anderson
576d948043 Add a GVN-PRE basic regression test.
llvm-svn: 37549
2007-06-12 00:49:33 +00:00
Chris Lattner
d5396b6545 rename C files to end with .c
llvm-svn: 37535
2007-06-09 06:10:47 +00:00
Duncan Sands
99b3a9544d Make the struct bigger, in an attempt to get a "struct return" on more
platforms.

llvm-svn: 37489
2007-06-07 09:35:33 +00:00
Duncan Sands
018cc4f08e Make this test pass if llvm-g++ was built without exception handling support.
llvm-svn: 37488
2007-06-07 09:00:48 +00:00
Tanya Lattner
9672d69be2 Instruct the inliner to obey the noinline attribute. Add test case.
llvm-svn: 37481
2007-06-06 21:59:26 +00:00
Tanya Lattner
c7e990a524 Really use attribute.
llvm-svn: 37480
2007-06-06 21:00:46 +00:00
Tanya Lattner
ed5daa8f3a Test case for noinline attribute.
llvm-svn: 37479
2007-06-06 20:52:16 +00:00
Tanya Lattner
b484beac63 Revert changes for noinline.
llvm-svn: 37476
2007-06-06 20:46:40 +00:00
Lauro Ramos Venancio
fa558c0028 Add a test for PR1499.
llvm-svn: 37473
2007-06-06 17:10:02 +00:00
Duncan Sands
e2f26d06a6 "Simplified" testcase for PR1422.
llvm-svn: 37462
2007-06-06 09:59:53 +00:00
Tanya Lattner
8f222410c8 Ignore llvm.noinline
llvm-svn: 37460
2007-06-06 05:53:50 +00:00
Nick Lewycky
65ab0c5528 new testcase for PR1487
llvm-svn: 37458
2007-06-06 04:11:21 +00:00
Chris Lattner
ea380b16b7 new testcase for PR1495
llvm-svn: 37452
2007-06-06 01:21:46 +00:00
Devang Patel
68d03ac6b9 New test.
llvm-svn: 37438
2007-06-05 20:23:20 +00:00
Zhou Sheng
09b12fef98 Commit first round work of PR1373. "noalias" is now fully supported in
VMCore, BitCode, and Assembly. Documentation and test case paramattrs.ll
updated also.

llvm-svn: 37432
2007-06-05 05:28:26 +00:00
Evan Cheng
ba4c97df9f New test.
llvm-svn: 37431
2007-06-05 01:45:08 +00:00
Dale Johannesen
a68662e4a4 Tail merging wasn't working for predecessors of landing pads. PR 1496.
llvm-svn: 37427
2007-06-04 23:52:54 +00:00
Chris Lattner
fdf98ca07f new testcase for PR1491
llvm-svn: 37422
2007-06-04 22:23:17 +00:00
Dale Johannesen
fd7f1ad2f7 Implement smarter algorithm for choosing which blocks to tail-merge.
See test/CodeGen/X86/test-pic-jtbl.ll for a case where it works well;
shaves another 10K off our favorite benchmark.  I was hesitant about
this because of compile speed, but seems to do OK on a bootstrap.

llvm-svn: 37392
2007-06-01 23:02:45 +00:00
Lauro Ramos Venancio
afcdd2546e Add a test for PR1424.
llvm-svn: 37372
2007-05-31 18:36:07 +00:00
Chris Lattner
932fba07e5 new testcase for PR1473
llvm-svn: 37361
2007-05-30 16:29:20 +00:00
Duncan Sands
ede6e9e542 Testcase for
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070528/050047.html

llvm-svn: 37359
2007-05-30 10:16:19 +00:00
Chris Lattner
282776d211 Testcase for PR1421
llvm-svn: 37357
2007-05-30 06:10:46 +00:00
Chris Lattner
3fdd243182 new testcase for PR1421
llvm-svn: 37356
2007-05-30 05:37:18 +00:00
Chris Lattner
5743ab17d4 testcase for PR1446
llvm-svn: 37325
2007-05-24 18:42:47 +00:00
Evan Cheng
e69eb98312 Add a new test case.
llvm-svn: 37317
2007-05-24 02:31:15 +00:00
Dale Johannesen
54db6d2e4d tail merging shrinks this code a bit. Could do more in future.
llvm-svn: 37316
2007-05-23 21:09:26 +00:00
Chris Lattner
79251e9dcc new testcase for PR1435
llvm-svn: 37304
2007-05-23 06:35:52 +00:00
Dale Johannesen
53a2f3b4e4 new testcases for -enable-tail-merge default handling
llvm-svn: 37287
2007-05-22 17:19:23 +00:00
Dale Johannesen
91ec0a7822 Test assumes tail merging is off; this must now be explicit.
llvm-svn: 37286
2007-05-22 17:18:05 +00:00
Chris Lattner
9bfc570412 new testcase for a recent regression
llvm-svn: 37283
2007-05-22 07:00:38 +00:00
Evan Cheng
cfb1ffc73f Add test for PR1259.
llvm-svn: 37273
2007-05-21 23:30:33 +00:00
Reid Spencer
2188a8e48f Make sure we can round-trip an escaped value in a name.
llvm-svn: 37259
2007-05-19 07:22:24 +00:00
Chris Lattner
01212372fa new testcase
llvm-svn: 37255
2007-05-19 06:50:37 +00:00
Chris Lattner
ac4e2f1414 add source
llvm-svn: 37253
2007-05-19 01:22:52 +00:00
Chris Lattner
a0fc844390 new testcase
llvm-svn: 37251
2007-05-19 01:21:39 +00:00
Chris Lattner
26266f163a new testcase
llvm-svn: 37245
2007-05-19 00:41:40 +00:00
Dan Gohman
91cc43a237 Add a testcase for unrolling loops with unknown tripcounts.
llvm-svn: 37238
2007-05-18 19:59:23 +00:00
Duncan Sands
6684ec18cd Fix typo.
llvm-svn: 37224
2007-05-18 12:13:34 +00:00
Reid Spencer
c494057e90 Add a test case for PR1434
llvm-svn: 37203
2007-05-18 03:46:50 +00:00
Reid Spencer
45986321e9 Avoid an infinite loop when TestRunner.sh is run outside of the test dir.
llvm-svn: 37201
2007-05-18 02:06:03 +00:00
Devang Patel
8b21d8aa20 New test.
llvm-svn: 37184
2007-05-17 22:05:20 +00:00
Evan Cheng
c741fd8106 New test case.
llvm-svn: 37174
2007-05-17 18:49:50 +00:00
Chris Lattner
5f91019b13 add testcase for 128-bit add/sub
llvm-svn: 37170
2007-05-17 18:22:37 +00:00
Devang Patel
b81dd9fc45 New test.
llvm-svn: 37151
2007-05-17 06:22:12 +00:00
Chris Lattner
4922cfb5b2 testcase for PR1427
llvm-svn: 37140
2007-05-17 03:29:17 +00:00
Reid Spencer
c619d954e7 Fix PR1355: Only compute the SUBPATH and TESTDIR once.
llvm-svn: 37108
2007-05-16 17:56:56 +00:00
Devang Patel
ebe07d426e Fix PR number.
llvm-svn: 37107
2007-05-16 16:51:31 +00:00
Devang Patel
edb32e5cfe New test for PR1417
llvm-svn: 37106
2007-05-16 16:50:32 +00:00
Chris Lattner
7db5630b2b testcase for maskmovq
llvm-svn: 37101
2007-05-16 06:14:10 +00:00
Devang Patel
407b92f7f4 New test.
llvm-svn: 37090
2007-05-15 23:44:27 +00:00
Chris Lattner
0cccda1665 add PR number and testcase from the PR.
llvm-svn: 37088
2007-05-15 20:40:25 +00:00
Chris Lattner
f08978c0dc new testcase
llvm-svn: 37087
2007-05-15 20:29:56 +00:00
Lauro Ramos Venancio
251ea5ab65 Fix an infinite recursion in GetNegatedExpression.
llvm-svn: 37086
2007-05-15 17:05:43 +00:00
Reid Spencer
3651eb9571 Don't put test cases into regression test suite before the bug is fixed.
llvm-svn: 37085
2007-05-15 15:46:41 +00:00
Reid Spencer
64f3cbe56c Add a test case for PR1420
llvm-svn: 37082
2007-05-15 06:52:15 +00:00
Chris Lattner
a18749e96e new testcase that crashes llc
llvm-svn: 37068
2007-05-15 01:33:12 +00:00
Chris Lattner
cba64c6a47 testcase that crashes llc
llvm-svn: 37059
2007-05-15 01:13:42 +00:00
Chris Lattner
e76dccb73f New testcase that crashes instcombine
llvm-svn: 37056
2007-05-15 00:15:49 +00:00
Chris Lattner
a4c8056268 new testcase
llvm-svn: 37053
2007-05-14 22:04:16 +00:00
Evan Cheng
bdc4c1ebc5 Test for PR1406.
llvm-svn: 37051
2007-05-14 21:12:43 +00:00
Evan Cheng
eee2e3bfab New test.
llvm-svn: 37048
2007-05-14 20:47:21 +00:00
Evan Cheng
0f1466ebc1 Doh. .cpp -> .ll
llvm-svn: 37047
2007-05-14 20:43:28 +00:00
Lauro Ramos Venancio
c6d71fb584 Enable aliases on arm-linux.
llvm-svn: 37042
2007-05-14 18:32:56 +00:00
Reid Spencer
11493e0bcd Reverse last patch .. premature. Depends on uncommitted CBE patch.
llvm-svn: 37039
2007-05-14 17:58:52 +00:00
Reid Spencer
c8202a622f Update this test to match the (corrected) output from the CBE.
llvm-svn: 37038
2007-05-14 17:56:39 +00:00
Chris Lattner
b8116aaff5 this crashes globalopt
llvm-svn: 37021
2007-05-13 21:28:25 +00:00
Reid Spencer
c74dc663d1 Add a test case for shl of APInt integers > 64 bits by 0 shift amount.
llvm-svn: 37009
2007-05-12 17:59:55 +00:00
Devang Patel
e1febcb21e New test.
llvm-svn: 36997
2007-05-11 23:13:19 +00:00
Reid Spencer
3424dd8772 For PR1411:
Don't try to use {} bracketing when setting a variable in site.exp

llvm-svn: 36985
2007-05-11 06:47:16 +00:00
Chris Lattner
6b1afe375c new testcase that crashes instcombine
llvm-svn: 36983
2007-05-11 05:55:38 +00:00
Devang Patel
a6d54662d0 Drop ModuleID from comment.
llvm-svn: 36982
2007-05-11 00:45:58 +00:00
Dale Johannesen
3099de1972 Another test for tail mergeing
llvm-svn: 36967
2007-05-10 01:04:28 +00:00
Evan Cheng
d70be3bdee Can't fold bit_convert into truncating store.
llvm-svn: 36963
2007-05-09 21:54:34 +00:00
Anton Korobeynikov
4423f1a3fd 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.

llvm-svn: 36959
2007-05-09 20:07:08 +00:00
Evan Cheng
bbb8e8f7cd PR1399 test case.
llvm-svn: 36957
2007-05-09 19:20:37 +00:00
Duncan Sands
6a2fc70bb4 Testcase for
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070507/049387.html

llvm-svn: 36956
2007-05-09 08:41:26 +00:00
Devang Patel
b32c6e7dce New test.
llvm-svn: 36954
2007-05-09 08:19:24 +00:00
Devang Patel
b6fd642698 New test.
llvm-svn: 36953
2007-05-09 08:08:46 +00:00
Chris Lattner
ddb5fe7770 add the & back. I'm not sure why bill removed it.
llvm-svn: 36945
2007-05-08 20:08:06 +00:00
Devang Patel
59be9f1d68 New test for PR1400
llvm-svn: 36941
2007-05-08 18:08:20 +00:00
Dale Johannesen
e6b2d045cc testcase for CodeGenPrepare bug fixed yesterday
llvm-svn: 36940
2007-05-08 17:44:36 +00:00
Bill Wendling
b5bf5a96ed Spare '&' in the RUN line.
llvm-svn: 36933
2007-05-08 07:49:07 +00:00
Devang Patel
49fa8c60e0 New test.
llvm-svn: 36930
2007-05-08 06:10:12 +00:00
Chris Lattner
63ddb501d3 move this out of Codegen/Generic, because it requires the ARM backend to be
linked into llc

llvm-svn: 36919
2007-05-08 02:19:56 +00:00
Chris Lattner
7875baf30c move to CodeGen/ARM/2007-05-07-tailmerge-1.ll
llvm-svn: 36918
2007-05-08 02:13:52 +00:00
Evan Cheng
cd3d36aaa6 Fix tests.
llvm-svn: 36913
2007-05-07 21:50:07 +00:00
Evan Cheng
8a0c9364bc Add some tests for (conv (load x)) -> (load (conv*)x) xform.
llvm-svn: 36912
2007-05-07 21:49:35 +00:00
Evan Cheng
ffeb94f21f Fix test case.
llvm-svn: 36911
2007-05-07 21:38:05 +00:00
Dale Johannesen
c884abe112 Handle some non-exit blocks in tail merging.
llvm-svn: 36907
2007-05-07 20:57:21 +00:00
Duncan Sands
f84f319401 Testcase for PR1398.
llvm-svn: 36905
2007-05-07 20:45:20 +00:00
Chris Lattner
be5e37bb78 remove libbzip2 from this. This should use llvm-config or something.
llvm-svn: 36879
2007-05-06 19:21:48 +00:00
Duncan Sands
4c9ef6f848 Testcase for yet another global constant Ada f-e bug.
llvm-svn: 36874
2007-05-06 16:20:30 +00:00
Lauro Ramos Venancio
236cf4a51b Fix PR1390.
Don't spill extra register to align the stack.

llvm-svn: 36814
2007-05-05 23:44:41 +00:00
Chris Lattner
0a895e3975 this test is now in Target/README.txt
llvm-svn: 36812
2007-05-05 22:44:27 +00:00
Chris Lattner
b9b16cbf97 remove an old xfailed test
llvm-svn: 36810
2007-05-05 22:42:02 +00:00
Chris Lattner
cfda811d3c un-xfail this.
llvm-svn: 36808
2007-05-05 22:41:13 +00:00
Chris Lattner
54321459c0 move these xfailed tests to lib/Target/README.txt
llvm-svn: 36805
2007-05-05 22:28:33 +00:00
Chris Lattner
dfc8ec6660 Move Mem2Reg/DifferingTypes.ll -> ScalarRepl/DifferingTypes.ll. -scalarrepl
implements this xform.

llvm-svn: 36804
2007-05-05 22:22:03 +00:00
Chris Lattner
1249eccaeb remvoe two tests that cee has never gotten right
llvm-svn: 36803
2007-05-05 22:19:49 +00:00
Chris Lattner
341cb5adc8 the sparc v8 backend handles this correctly
llvm-svn: 36801
2007-05-05 22:12:57 +00:00
Chris Lattner
c2c16a967e remove this xfail'd test, move it to the X86 readme.
llvm-svn: 36800
2007-05-05 22:10:53 +00:00
Chris Lattner
d3d8aaf877 We need support for tail calls, this is moved to PR1392
llvm-svn: 36798
2007-05-05 22:03:12 +00:00
Chris Lattner
9808f834ba remove xfailed testcase (attached to pr)
llvm-svn: 36797
2007-05-05 21:57:34 +00:00
Chris Lattner
67a434ebb5 unxfail this, llc doesn't support this feature yet, so don't run it.
llvm-svn: 36796
2007-05-05 21:51:34 +00:00
Chris Lattner
f8315b5610 Remove bogus testcase, PR409 is wontfix
llvm-svn: 36795
2007-05-05 21:49:24 +00:00
Chris Lattner
a1c7342e51 this tests for a missing feature. Move it to PR1391 instead of being an
xfailed testcase

llvm-svn: 36794
2007-05-05 21:47:29 +00:00
Chris Lattner
c474df976f remove this xfailed testcase, move it into a comment in PR279, an enhancement PR.
llvm-svn: 36793
2007-05-05 21:38:55 +00:00
Chris Lattner
f122e73b9a llvm-gcc3 is gone
llvm-svn: 36792
2007-05-05 21:35:44 +00:00
Chris Lattner
46a0e3ca4c fix failure on ahs3's tester
llvm-svn: 36791
2007-05-05 20:50:35 +00:00
Chris Lattner
e5f151e43e remove bogus xfailed testcase
llvm-svn: 36790
2007-05-05 20:49:28 +00:00
Duncan Sands
443ccb4591 Check that the right eh personality function is used.
llvm-svn: 36788
2007-05-05 20:22:08 +00:00
Chris Lattner
faf5ed3a6b new testcase for PR1371
llvm-svn: 36786
2007-05-05 19:38:43 +00:00
Chris Lattner
3de1698393 new testcase for PR1385
llvm-svn: 36783
2007-05-05 18:48:52 +00:00
Chris Lattner
b87e09b424 new testacse for PR1384
llvm-svn: 36774
2007-05-05 01:59:05 +00:00
Duncan Sands
a3171eb245 Test that the eh lowering code can handle constant folded bitcasts.
llvm-svn: 36746
2007-05-04 17:14:42 +00:00
Reid Spencer
4a38716edd Add a test case for testing the LLI interpreter wrt bitcast of fp to integer.
llvm-svn: 36732
2007-05-04 03:35:17 +00:00
Chris Lattner
7cef11b66d new testcase
llvm-svn: 36722
2007-05-04 00:51:23 +00:00
Evan Cheng
d5ddb11361 Test load global in static mode.
llvm-svn: 36719
2007-05-04 00:29:34 +00:00
Evan Cheng
f408ed9976 New test case.
llvm-svn: 36717
2007-05-03 23:53:36 +00:00
Dale Johannesen
d28d0bac2a Evan's patch to avoid FPreg->intreg copy for cvt; store to mem
llvm-svn: 36693
2007-05-03 20:54:42 +00:00
Evan Cheng
3116234ebc negatize -> negative
llvm-svn: 36683
2007-05-03 18:20:17 +00:00
Chris Lattner
38370606b5 new testcase
llvm-svn: 36671
2007-05-03 16:54:08 +00:00
Devang Patel
6946a42ef0 New test.
llvm-svn: 36661
2007-05-03 00:42:22 +00:00
Chris Lattner
c777983d43 match a reassociated form of fnmul
llvm-svn: 36659
2007-05-03 00:31:40 +00:00
Duncan Sands
c0464dd9ee Test that TREE_CONSTANT is being set correctly.
llvm-svn: 36645
2007-05-02 07:43:14 +00:00
Duncan Sands
2f2e949039 Test that inline assembler compiles (llvm-gcc added an extra "uses" parameter
to ASM_EXPR).

llvm-svn: 36644
2007-05-02 07:41:22 +00:00
Duncan Sands
d21fa83e53 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.

llvm-svn: 36629
2007-05-01 18:49:30 +00:00
Reid Spencer
01a611f06a Split target dependent test portions to target-specific directories.
llvm-svn: 36612
2007-05-01 02:56:15 +00:00
Evan Cheng
5793434ac3 Test a dag combiner crasher.
llvm-svn: 36605
2007-05-01 00:40:38 +00:00
Chris Lattner
ffb1892f98 testcase for PR1228
llvm-svn: 36601
2007-04-30 23:34:46 +00:00
Chris Lattner
94eb923292 testcase for PR1357
llvm-svn: 36598
2007-04-30 21:10:13 +00:00
Reid Spencer
6045236615 For PR1370:
Rearrange some tests so that if PowerPC is not being built we don't try to
run PowerPC specific tests.

llvm-svn: 36587
2007-04-30 05:11:58 +00:00
Chris Lattner
fae605a17e not all targets want to return an i32. What really matters is whether llc accepts the generated code.
llvm-svn: 36569
2007-04-29 18:59:01 +00:00
Anton Korobeynikov
f807cfe71f Updated aliases test
llvm-svn: 36558
2007-04-29 10:34:42 +00:00
Anton Korobeynikov
45162c6dad Implement review feedback. Aliasees can be either GlobalValue's or
bitcasts of them.

llvm-svn: 36537
2007-04-28 13:45:00 +00:00
Chris Lattner
937ced8d2c new testcase for PR1356
llvm-svn: 36535
2007-04-28 06:41:13 +00:00
Chris Lattner
782ebe9f8a ensure the operand prints.
llvm-svn: 36533
2007-04-28 06:07:55 +00:00
Chris Lattner
4a79914438 new testcase
llvm-svn: 36532
2007-04-28 06:05:59 +00:00
Chris Lattner
287a590e95 update syntax
llvm-svn: 36531
2007-04-28 06:03:12 +00:00
Chris Lattner
06a1069fc1 not fully implemented yet.
llvm-svn: 36530
2007-04-28 06:02:13 +00:00
Chris Lattner
6556ee94c9 update for new inline asm syntax
llvm-svn: 36526
2007-04-28 05:20:26 +00:00
Chris Lattner
2962e58a4b new testcase
llvm-svn: 36520
2007-04-28 00:54:45 +00:00
Lauro Ramos Venancio
8226832ec6 fix the test tls1.
llvm-svn: 36517
2007-04-27 21:23:17 +00:00
Lauro Ramos Venancio
0917ab8b29 add TLS tests.
llvm-svn: 36516
2007-04-27 21:08:48 +00:00
Lauro Ramos Venancio
f9641d332a In Thumb mode, the frame register must be R7.
llvm-svn: 36512
2007-04-27 17:58:03 +00:00
Chris Lattner
d6a01ade78 make this testcase harder, to cover PR1326
llvm-svn: 36509
2007-04-27 17:12:23 +00:00
Duncan Sands
4444cfb768 Test that eh_selector lowering accepts global variables as well as bitcasts
of global variables.

llvm-svn: 36500
2007-04-27 06:56:53 +00:00
Anton Korobeynikov
0c27d56340 Unxfail tests
llvm-svn: 36497
2007-04-26 21:20:04 +00:00
Dan Gohman
a5891279ef testcase for PR1339: http://llvm.org/PR1339
llvm-svn: 36492
2007-04-26 21:04:39 +00:00
Anton Korobeynikov
4ddd712259 Add test to proper place. Also, XFAIL until ppc bootstrap will be ok.
llvm-svn: 36491
2007-04-26 20:49:05 +00:00
Anton Korobeynikov
3e0f9076d0 Fixx off-by-one bug, which prevents llvm-gcc bootstrap on ppc32
llvm-svn: 36490
2007-04-26 20:44:04 +00:00
Andrew Lenharth
359af9d3d1 An example for PR1362
llvm-svn: 36484
2007-04-26 19:28:33 +00:00
Zhou Sheng
266fac909c Add two test cases to cover apintification change.
llvm-svn: 36476
2007-04-26 16:44:48 +00:00
Chris Lattner
71036274b6 new testcase
llvm-svn: 36468
2007-04-26 05:28:45 +00:00
Reid Spencer
e05f0e1e67 For PR1355:
Make the script process multiple files and describe its usage properly.

llvm-svn: 36466
2007-04-26 03:59:24 +00:00
Evan Cheng
908f2265de PR1348 test case.
llvm-svn: 36457
2007-04-26 01:14:14 +00:00
Evan Cheng
1f7af4892a New test case.
llvm-svn: 36455
2007-04-26 00:07:36 +00:00
Chris Lattner
22ce25e1ec && no longer needed
llvm-svn: 36453
2007-04-25 22:32:55 +00:00
Bill Wendling
43dbe6d0d2 Testcase for codegen bug.
llvm-svn: 36450
2007-04-25 21:58:17 +00:00
Lauro Ramos Venancio
d922b8ca9b remember to emit weak reference in one more case.
llvm-svn: 36438
2007-04-25 14:50:40 +00:00
Anton Korobeynikov
25dc9a61cb Implement aliases. This fixes PR1017 and it's dependent bugs. CFE part
will follow.

llvm-svn: 36435
2007-04-25 14:27:10 +00:00
Chris Lattner
c9f600b6a4 new testcase, should be able to eliminate the alloca and memcpy
llvm-svn: 36428
2007-04-25 06:29:34 +00:00
Chris Lattner
4351f89ca1 new testcase
llvm-svn: 36418
2007-04-25 01:51:33 +00:00
Devang Patel
242d109f63 New test.
llvm-svn: 36416
2007-04-25 00:35:37 +00:00
Chris Lattner
bcc8d13861 testcase for PR1352
llvm-svn: 36415
2007-04-25 00:26:05 +00:00
Chris Lattner
a5b8a2b50e new testcase that crashes llc
llvm-svn: 36412
2007-04-25 00:00:12 +00:00
Chris Lattner
f20a2f1083 testcase for PR1351
llvm-svn: 36409
2007-04-24 22:49:57 +00:00
Bill Wendling
c41beb8e13 Testcases for MMX.
llvm-svn: 36408
2007-04-24 22:28:30 +00:00
Devang Patel
cf0efbd454 New test.
llvm-svn: 36401
2007-04-24 21:05:52 +00:00
Devang Patel
ad19e20a45 New test case.
llvm-svn: 36400
2007-04-24 19:24:39 +00:00
Devang Patel
c3edd08cbe New test.
llvm-svn: 36379
2007-04-23 22:39:53 +00:00
Reid Spencer
78ba39377a 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.

llvm-svn: 36376
2007-04-23 21:21:53 +00:00
Lauro Ramos Venancio
e9c75ee05b Add TLS tests.
llvm-svn: 36360
2007-04-23 01:29:35 +00:00
Andrew Lenharth
5de8804b02 simplify this test until it can be dealt with
llvm-svn: 36351
2007-04-22 20:58:56 +00:00
Reid Spencer
3c32917e0d Fix the comparison of language names to accept any characters by using
"string first" instead of "regexp match". This helps C++ tests get executed.

llvm-svn: 36339
2007-04-22 14:14:11 +00:00
Reid Spencer
119d63ad7e Make running these tests conditional on llvm-gcc supporting the language
of these test cases.

llvm-svn: 36328
2007-04-22 05:53:18 +00:00
Reid Spencer
4721577334 For PR1146:
Make ParamAttrsList objects unique. You can no longer directly create or
destroy them but instead must go through the ParamAttrsList::get()
interface.

llvm-svn: 36327
2007-04-22 05:46:44 +00:00
Lauro Ramos Venancio
f8b49e5ee0 Implement PIC for arm-linux.
llvm-svn: 36324
2007-04-22 00:04:12 +00:00
Reid Spencer
2432c15fa0 Add a .cvsignore file.
llvm-svn: 36323
2007-04-21 21:53:04 +00:00
Reid Spencer
49926e54a0 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.

llvm-svn: 36322
2007-04-21 21:45:51 +00:00
Reid Spencer
9b75088d07 Pass the LLVMGCC_LANGS variable through to Tcl.
llvm-svn: 36321
2007-04-21 21:43:18 +00:00
Reid Spencer
15fe42f410 llvm-dg.exp is dead, remove it.
llvm-svn: 36317
2007-04-21 20:48:14 +00:00
Reid Spencer
d041f297b0 Failure.sh is dead, remove it.
llvm-svn: 36316
2007-04-21 20:46:55 +00:00
Reid Spencer
6dbda77071 Use the llvm_supports_target function to prevent running of tests for
targets that LLVM is not configured to support.

llvm-svn: 36315
2007-04-21 20:41:27 +00:00
Reid Spencer
c97f1dd57c Add the llvm_supports_target function.
llvm-svn: 36314
2007-04-21 20:40:17 +00:00
Reid Spencer
97a4d5e50c Add the TARGETS_TO_BUILD variable.
llvm-svn: 36313
2007-04-21 20:39:26 +00:00
Duncan Sands
1a1b798094 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.

llvm-svn: 36312
2007-04-21 20:20:47 +00:00
Reid Spencer
1d7c49097d 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.

llvm-svn: 36311
2007-04-21 18:53:12 +00:00
Reid Spencer
8297d9b097 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.

llvm-svn: 36310
2007-04-21 18:46:52 +00:00
Christopher Lamb
b56b6a7ad7 add support for alignment attributes on load/store instructions
llvm-svn: 36301
2007-04-21 08:16:25 +00:00
Chris Lattner
64516d7a4f make this portable to 64-bit hosts
llvm-svn: 36297
2007-04-21 03:35:28 +00:00
Devang Patel
d78334d2e7 New test case.
llvm-svn: 36293
2007-04-21 00:34:37 +00:00
Devang Patel
322584e3f6 Enable Objective-C tests.
llvm-svn: 36281
2007-04-20 21:24:01 +00:00
Christopher Lamb
5cdf5b11b3 Test check in
llvm-svn: 36269
2007-04-20 05:05:24 +00:00
Evan Cheng
98d8512d2c Fix test.
llvm-svn: 36266
2007-04-20 00:45:36 +00:00
Chris Lattner
4bb1ca868a new testcase
llvm-svn: 36243
2007-04-18 03:04:37 +00:00
Evan Cheng
8080cdfd60 New crasher test case.
llvm-svn: 36241
2007-04-18 02:35:10 +00:00
Devang Patel
158854c5fc New test.
llvm-svn: 36235
2007-04-18 00:51:43 +00:00
Chris Lattner
14205a32d2 new testcase
llvm-svn: 36230
2007-04-17 23:43:31 +00:00
Chris Lattner
c09249e3ba new testcase
llvm-svn: 36220
2007-04-17 21:12:26 +00:00
Duncan Sands
205a49abb3 Use // not ; since this is C.
llvm-svn: 36219
2007-04-17 20:50:33 +00:00
Devang Patel
e91576f1fd New test case.
llvm-svn: 36217
2007-04-17 20:29:12 +00:00
Chris Lattner
12ffa2d85a new testcase
llvm-svn: 36211
2007-04-17 19:03:02 +00:00
Anton Korobeynikov
9bc4b792bf 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? :)
llvm-svn: 36195
2007-04-17 09:20:00 +00:00
Jeff Cohen
92a09fc556 Make it work on 64-bit systems.
llvm-svn: 36194
2007-04-17 05:48:35 +00:00
Andrew Lenharth
38746c38c6 this is fixed
llvm-svn: 36190
2007-04-17 04:07:27 +00:00
Devang Patel
ca917ef212 Add PR number for reference.
llvm-svn: 36184
2007-04-16 23:52:37 +00:00
Devang Patel
e155e1ef8c New test case.
llvm-svn: 36181
2007-04-16 23:02:22 +00:00
Reid Spencer
a770b1aec2 Fix this test from Duncan's experiment.
llvm-svn: 36176
2007-04-16 21:57:14 +00:00
Reid Spencer
37a1d7f441 Also validate that the code generation of IntrinsicLowering for LLI works.
llvm-svn: 36175
2007-04-16 21:52:56 +00:00
Chris Lattner
8e80b077c8 refix this
llvm-svn: 36172
2007-04-16 21:30:21 +00:00
Chris Lattner
21e25d6aa6 use an x86 t-t for an x86 test. Thanks to Dan for noticing this!
llvm-svn: 36170
2007-04-16 21:26:37 +00:00
Chris Lattner
e21e5bbbe1 fix incorrectly upgraded test
llvm-svn: 36169
2007-04-16 21:24:14 +00:00
Chris Lattner
17f2a2342a We shouldn't have tests for features we don't have yet.
llvm-svn: 36167
2007-04-16 21:22:58 +00:00
Chris Lattner
e9e469d0ad remove bogus test
llvm-svn: 36166
2007-04-16 21:20:27 +00:00
Duncan Sands
4acf9e6941 Spelling fix.
llvm-svn: 36165
2007-04-16 21:19:45 +00:00
Chris Lattner
770228304e MAke this test portable.
llvm-svn: 36164
2007-04-16 21:18:56 +00:00
Duncan Sands
d3bd00c19e Test code quality for variable length array references.
llvm-svn: 36163
2007-04-16 21:13:57 +00:00
Duncan Sands
0510c9125e Check handling of arrays of variable sized components.
llvm-svn: 36162
2007-04-16 21:12:03 +00:00
Anton Korobeynikov
753167055b Heal this test
llvm-svn: 36161
2007-04-16 21:07:00 +00:00
Chris Lattner
513bdd23e0 fix this test
llvm-svn: 36160
2007-04-16 21:05:37 +00:00
Evan Cheng
097bb4df97 Fixes tests and remove xfail.
llvm-svn: 36152
2007-04-16 20:04:11 +00:00