Dan Gohman
0de7694de6
Fix an assertion failure in legalizing bitcast operators on targets where
...
vectors are split down to single elements as part of legalization.
llvm-svn: 37785
2007-06-29 00:09:08 +00:00
Owen Anderson
d630147c44
Add a test for performing GVNPRE on select instructions.
...
llvm-svn: 37782
2007-06-28 23:50:31 +00:00
Devang Patel
9a259a20b3
Fix PR 1526.
...
llvm-svn: 37780
2007-06-28 23:09:25 +00:00
Devang Patel
279e501be4
Update. Now, -etforest is an invalid option.
...
llvm-svn: 37767
2007-06-27 22:58:12 +00:00
Owen Anderson
43790570ad
Add tests for performing GVNPRE on the three vector-specific instructions.
...
llvm-svn: 37744
2007-06-27 04:06:32 +00:00
Chris Lattner
b2a9048dc4
new testcase, the inliner shouldn't inline this.
...
llvm-svn: 37722
2007-06-25 21:49:53 +00:00
Owen Anderson
bfd1673366
Rename variables to expose the fact that this test is failing.
...
llvm-svn: 37711
2007-06-24 08:17:41 +00:00
Evan Cheng
e15ea75168
Fix tests.
...
llvm-svn: 37693
2007-06-21 18:22:42 +00:00
Chris Lattner
181ebd6f88
new testcase miscompiled by instcombine, reduced from perl
...
llvm-svn: 37691
2007-06-21 18:09:25 +00:00
Evan Cheng
5fcb5a5c74
New tests.
...
llvm-svn: 37686
2007-06-21 07:40:00 +00:00
Evan Cheng
85010166a6
Added some if-conversion tests.
...
llvm-svn: 37672
2007-06-20 18:26:15 +00:00
Owen Anderson
0b7c12be82
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
3552c9e845
Add a new testcase for memory corruption issues.
...
llvm-svn: 37648
2007-06-19 05:41:22 +00:00
Chris Lattner
f2b72bf921
testcase for PR1513
...
llvm-svn: 37638
2007-06-19 00:08:42 +00:00
Evan Cheng
6ba3e8b27d
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
aab2200844
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
5f232faf8c
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
ec6be07c22
XFAILing until I can fix properly.
...
llvm-svn: 37618
2007-06-16 23:57:51 +00:00
Nick Lewycky
7aa84fe7c5
Call the correct function name. Patch from Stephane Letz.
...
llvm-svn: 37614
2007-06-16 16:17:35 +00:00
Bill Wendling
c8f293b4f9
Testcase for MMX int to MMX register failure.
...
llvm-svn: 37612
2007-06-16 06:31:47 +00:00
Owen Anderson
d2028a549f
Testcase where GVNPRE was getting confused by invoke instructions.
...
llvm-svn: 37609
2007-06-16 00:25:10 +00:00
Tanya Lattner
a575a7dfda
test case for annotate attribute
...
llvm-svn: 37604
2007-06-15 20:52:47 +00:00
Chris Lattner
2d7f447a7a
make this test harder, include a tied register.
...
llvm-svn: 37600
2007-06-15 19:09:53 +00:00
Duncan Sands
92bf2c628c
Workaround for PR1508.
...
llvm-svn: 37597
2007-06-15 19:04:19 +00:00
Owen Anderson
ad9743225e
Add a testcase where GVNPRE what getting confused by a loop.
...
llvm-svn: 37594
2007-06-15 17:54:05 +00:00
Duncan Sands
8e21e69efb
Use "ignore" rather than grep tricks.
...
llvm-svn: 37592
2007-06-15 17:13:53 +00:00
Chris Lattner
9923af42cf
add vector versions of this test
...
llvm-svn: 37588
2007-06-15 06:22:32 +00:00
Chris Lattner
a8de4cccd9
testcase for PR1510
...
llvm-svn: 37583
2007-06-15 05:57:20 +00:00
Dale Johannesen
616627b002
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
b1c82db828
Add a test where phi translation was producing a null result.
...
llvm-svn: 37563
2007-06-12 22:42:35 +00:00
Owen Anderson
6d1df658c0
Testcase where GVNPRE crashes on functions with no exit nodes.
...
llvm-svn: 37555
2007-06-12 16:56:00 +00:00
Owen Anderson
3c0c1376ea
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
ee35eab57f
Add a GVN-PRE basic regression test.
...
llvm-svn: 37549
2007-06-12 00:49:33 +00:00
Chris Lattner
e359887116
rename C files to end with .c
...
llvm-svn: 37535
2007-06-09 06:10:47 +00:00
Duncan Sands
c3a9cd4c70
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
3f35c524b9
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
cb90f1d881
Instruct the inliner to obey the noinline attribute. Add test case.
...
llvm-svn: 37481
2007-06-06 21:59:26 +00:00
Tanya Lattner
c7c8b5a3d8
Really use attribute.
...
llvm-svn: 37480
2007-06-06 21:00:46 +00:00
Tanya Lattner
65cdd36e54
Test case for noinline attribute.
...
llvm-svn: 37479
2007-06-06 20:52:16 +00:00
Tanya Lattner
e50637d987
Revert changes for noinline.
...
llvm-svn: 37476
2007-06-06 20:46:40 +00:00
Lauro Ramos Venancio
be59acbfcc
Add a test for PR1499.
...
llvm-svn: 37473
2007-06-06 17:10:02 +00:00
Duncan Sands
fe940d8d74
"Simplified" testcase for PR1422.
...
llvm-svn: 37462
2007-06-06 09:59:53 +00:00
Tanya Lattner
277bbbc1be
Ignore llvm.noinline
...
llvm-svn: 37460
2007-06-06 05:53:50 +00:00
Nick Lewycky
3b70bb2778
new testcase for PR1487
...
llvm-svn: 37458
2007-06-06 04:11:21 +00:00
Chris Lattner
af56be7f2c
new testcase for PR1495
...
llvm-svn: 37452
2007-06-06 01:21:46 +00:00
Devang Patel
753b63cb5b
New test.
...
llvm-svn: 37438
2007-06-05 20:23:20 +00:00
Zhou Sheng
2444a9adeb
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
59754300a8
New test.
...
llvm-svn: 37431
2007-06-05 01:45:08 +00:00
Dale Johannesen
0558dda319
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
084c20fcc0
new testcase for PR1491
...
llvm-svn: 37422
2007-06-04 22:23:17 +00:00
Dale Johannesen
3c0a13762d
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
5a3e6fe365
Add a test for PR1424.
...
llvm-svn: 37372
2007-05-31 18:36:07 +00:00
Chris Lattner
4217aa376a
new testcase for PR1473
...
llvm-svn: 37361
2007-05-30 16:29:20 +00:00
Duncan Sands
d9e3786d2f
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
ed24b3b2fa
Testcase for PR1421
...
llvm-svn: 37357
2007-05-30 06:10:46 +00:00
Chris Lattner
b6506a636b
new testcase for PR1421
...
llvm-svn: 37356
2007-05-30 05:37:18 +00:00
Chris Lattner
49a34fcca7
testcase for PR1446
...
llvm-svn: 37325
2007-05-24 18:42:47 +00:00
Evan Cheng
b58bf97603
Add a new test case.
...
llvm-svn: 37317
2007-05-24 02:31:15 +00:00
Dale Johannesen
d750b46f8b
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
e44b6a6aaf
new testcase for PR1435
...
llvm-svn: 37304
2007-05-23 06:35:52 +00:00
Dale Johannesen
a7120dde08
new testcases for -enable-tail-merge default handling
...
llvm-svn: 37287
2007-05-22 17:19:23 +00:00
Dale Johannesen
80fae16a06
Test assumes tail merging is off; this must now be explicit.
...
llvm-svn: 37286
2007-05-22 17:18:05 +00:00
Chris Lattner
9a0ff5961b
new testcase for a recent regression
...
llvm-svn: 37283
2007-05-22 07:00:38 +00:00
Evan Cheng
204af78b96
Add test for PR1259.
...
llvm-svn: 37273
2007-05-21 23:30:33 +00:00
Reid Spencer
be9b3fce8a
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
faa31904e4
new testcase
...
llvm-svn: 37255
2007-05-19 06:50:37 +00:00
Chris Lattner
0306944992
add source
...
llvm-svn: 37253
2007-05-19 01:22:52 +00:00
Chris Lattner
afa90dc355
new testcase
...
llvm-svn: 37251
2007-05-19 01:21:39 +00:00
Chris Lattner
bde968823a
new testcase
...
llvm-svn: 37245
2007-05-19 00:41:40 +00:00
Dan Gohman
6164a1b279
Add a testcase for unrolling loops with unknown tripcounts.
...
llvm-svn: 37238
2007-05-18 19:59:23 +00:00
Duncan Sands
76256a069c
Fix typo.
...
llvm-svn: 37224
2007-05-18 12:13:34 +00:00
Reid Spencer
7aed8fccfd
Add a test case for PR1434
...
llvm-svn: 37203
2007-05-18 03:46:50 +00:00
Reid Spencer
d266c18c0e
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
f9ed308aba
New test.
...
llvm-svn: 37184
2007-05-17 22:05:20 +00:00
Evan Cheng
0465aca5d2
New test case.
...
llvm-svn: 37174
2007-05-17 18:49:50 +00:00
Chris Lattner
7bee9ad4f7
add testcase for 128-bit add/sub
...
llvm-svn: 37170
2007-05-17 18:22:37 +00:00
Devang Patel
2648effb23
New test.
...
llvm-svn: 37151
2007-05-17 06:22:12 +00:00
Chris Lattner
5de4944f70
testcase for PR1427
...
llvm-svn: 37140
2007-05-17 03:29:17 +00:00
Reid Spencer
99e813eee9
Fix PR1355: Only compute the SUBPATH and TESTDIR once.
...
llvm-svn: 37108
2007-05-16 17:56:56 +00:00
Devang Patel
95e2b7b59e
Fix PR number.
...
llvm-svn: 37107
2007-05-16 16:51:31 +00:00
Devang Patel
7d6b9e057c
New test for PR1417
...
llvm-svn: 37106
2007-05-16 16:50:32 +00:00
Chris Lattner
1087473e51
testcase for maskmovq
...
llvm-svn: 37101
2007-05-16 06:14:10 +00:00
Devang Patel
431b6a5d4a
New test.
...
llvm-svn: 37090
2007-05-15 23:44:27 +00:00
Chris Lattner
9b7e57315e
add PR number and testcase from the PR.
...
llvm-svn: 37088
2007-05-15 20:40:25 +00:00
Chris Lattner
df341b48a3
new testcase
...
llvm-svn: 37087
2007-05-15 20:29:56 +00:00
Lauro Ramos Venancio
3f142cbca2
Fix an infinite recursion in GetNegatedExpression.
...
llvm-svn: 37086
2007-05-15 17:05:43 +00:00
Reid Spencer
13612b1491
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
1582c0548f
Add a test case for PR1420
...
llvm-svn: 37082
2007-05-15 06:52:15 +00:00
Chris Lattner
a7a37a107e
new testcase that crashes llc
...
llvm-svn: 37068
2007-05-15 01:33:12 +00:00
Chris Lattner
c5900bd25b
testcase that crashes llc
...
llvm-svn: 37059
2007-05-15 01:13:42 +00:00
Chris Lattner
120548e508
New testcase that crashes instcombine
...
llvm-svn: 37056
2007-05-15 00:15:49 +00:00
Chris Lattner
d1e6255141
new testcase
...
llvm-svn: 37053
2007-05-14 22:04:16 +00:00
Evan Cheng
4c28ec187e
Test for PR1406.
...
llvm-svn: 37051
2007-05-14 21:12:43 +00:00
Evan Cheng
03c64ec842
New test.
...
llvm-svn: 37048
2007-05-14 20:47:21 +00:00
Evan Cheng
5c7ce4561f
Doh. .cpp -> .ll
...
llvm-svn: 37047
2007-05-14 20:43:28 +00:00
Lauro Ramos Venancio
3551928a2b
Enable aliases on arm-linux.
...
llvm-svn: 37042
2007-05-14 18:32:56 +00:00
Reid Spencer
9cdab38520
Reverse last patch .. premature. Depends on uncommitted CBE patch.
...
llvm-svn: 37039
2007-05-14 17:58:52 +00:00
Reid Spencer
9c6a4d64aa
Update this test to match the (corrected) output from the CBE.
...
llvm-svn: 37038
2007-05-14 17:56:39 +00:00
Chris Lattner
3b4ae44057
this crashes globalopt
...
llvm-svn: 37021
2007-05-13 21:28:25 +00:00
Reid Spencer
5d22b630af
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
1b9349d190
New test.
...
llvm-svn: 36997
2007-05-11 23:13:19 +00:00
Reid Spencer
c014687788
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
b6d85ad1e1
new testcase that crashes instcombine
...
llvm-svn: 36983
2007-05-11 05:55:38 +00:00
Devang Patel
d385e3970f
Drop ModuleID from comment.
...
llvm-svn: 36982
2007-05-11 00:45:58 +00:00
Dale Johannesen
b42c11265c
Another test for tail mergeing
...
llvm-svn: 36967
2007-05-10 01:04:28 +00:00
Evan Cheng
db214c77b4
Can't fold bit_convert into truncating store.
...
llvm-svn: 36963
2007-05-09 21:54:34 +00:00
Anton Korobeynikov
192d09c2d9
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
bf67a327c7
PR1399 test case.
...
llvm-svn: 36957
2007-05-09 19:20:37 +00:00
Duncan Sands
dd75c1a255
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
00a08d129e
New test.
...
llvm-svn: 36954
2007-05-09 08:19:24 +00:00
Devang Patel
519f2997cc
New test.
...
llvm-svn: 36953
2007-05-09 08:08:46 +00:00
Chris Lattner
75d56499c6
add the & back. I'm not sure why bill removed it.
...
llvm-svn: 36945
2007-05-08 20:08:06 +00:00
Devang Patel
95cd89f25b
New test for PR1400
...
llvm-svn: 36941
2007-05-08 18:08:20 +00:00
Dale Johannesen
882a6019af
testcase for CodeGenPrepare bug fixed yesterday
...
llvm-svn: 36940
2007-05-08 17:44:36 +00:00
Bill Wendling
0c976b8762
Spare '&' in the RUN line.
...
llvm-svn: 36933
2007-05-08 07:49:07 +00:00
Devang Patel
91041718f7
New test.
...
llvm-svn: 36930
2007-05-08 06:10:12 +00:00
Chris Lattner
4ef41c1054
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
d1f5ab0da8
move to CodeGen/ARM/2007-05-07-tailmerge-1.ll
...
llvm-svn: 36918
2007-05-08 02:13:52 +00:00
Evan Cheng
ef409e2780
Fix tests.
...
llvm-svn: 36913
2007-05-07 21:50:07 +00:00
Evan Cheng
2d828d2e3c
Add some tests for (conv (load x)) -> (load (conv*)x) xform.
...
llvm-svn: 36912
2007-05-07 21:49:35 +00:00
Evan Cheng
7cbd722dba
Fix test case.
...
llvm-svn: 36911
2007-05-07 21:38:05 +00:00
Dale Johannesen
9a25b3afcd
Handle some non-exit blocks in tail merging.
...
llvm-svn: 36907
2007-05-07 20:57:21 +00:00
Duncan Sands
7208cd6e4e
Testcase for PR1398.
...
llvm-svn: 36905
2007-05-07 20:45:20 +00:00
Chris Lattner
c57f2187b0
remove libbzip2 from this. This should use llvm-config or something.
...
llvm-svn: 36879
2007-05-06 19:21:48 +00:00
Duncan Sands
6ded956aee
Testcase for yet another global constant Ada f-e bug.
...
llvm-svn: 36874
2007-05-06 16:20:30 +00:00
Lauro Ramos Venancio
34b2735f20
Fix PR1390.
...
Don't spill extra register to align the stack.
llvm-svn: 36814
2007-05-05 23:44:41 +00:00
Chris Lattner
e8f14fb4cd
this test is now in Target/README.txt
...
llvm-svn: 36812
2007-05-05 22:44:27 +00:00
Chris Lattner
2601579ec9
remove an old xfailed test
...
llvm-svn: 36810
2007-05-05 22:42:02 +00:00
Chris Lattner
3dde023021
un-xfail this.
...
llvm-svn: 36808
2007-05-05 22:41:13 +00:00
Chris Lattner
df37169381
move these xfailed tests to lib/Target/README.txt
...
llvm-svn: 36805
2007-05-05 22:28:33 +00:00
Chris Lattner
4dc9a76ad8
Move Mem2Reg/DifferingTypes.ll -> ScalarRepl/DifferingTypes.ll. -scalarrepl
...
implements this xform.
llvm-svn: 36804
2007-05-05 22:22:03 +00:00
Chris Lattner
c103b49f52
remvoe two tests that cee has never gotten right
...
llvm-svn: 36803
2007-05-05 22:19:49 +00:00
Chris Lattner
bd82fb7d2f
the sparc v8 backend handles this correctly
...
llvm-svn: 36801
2007-05-05 22:12:57 +00:00
Chris Lattner
86dfbe0a13
remove this xfail'd test, move it to the X86 readme.
...
llvm-svn: 36800
2007-05-05 22:10:53 +00:00
Chris Lattner
879c39ae48
We need support for tail calls, this is moved to PR1392
...
llvm-svn: 36798
2007-05-05 22:03:12 +00:00
Chris Lattner
1c0af142a9
remove xfailed testcase (attached to pr)
...
llvm-svn: 36797
2007-05-05 21:57:34 +00:00
Chris Lattner
6760b998ba
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
578cc7483e
Remove bogus testcase, PR409 is wontfix
...
llvm-svn: 36795
2007-05-05 21:49:24 +00:00
Chris Lattner
4aa6506791
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
1f8de097d7
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
0e0285995f
llvm-gcc3 is gone
...
llvm-svn: 36792
2007-05-05 21:35:44 +00:00
Chris Lattner
8bd5e1a0b8
fix failure on ahs3's tester
...
llvm-svn: 36791
2007-05-05 20:50:35 +00:00
Chris Lattner
38bc9bfe48
remove bogus xfailed testcase
...
llvm-svn: 36790
2007-05-05 20:49:28 +00:00
Duncan Sands
d31dcdacef
Check that the right eh personality function is used.
...
llvm-svn: 36788
2007-05-05 20:22:08 +00:00
Chris Lattner
cc1aa37fbf
new testcase for PR1371
...
llvm-svn: 36786
2007-05-05 19:38:43 +00:00
Chris Lattner
580d824e5d
new testcase for PR1385
...
llvm-svn: 36783
2007-05-05 18:48:52 +00:00
Chris Lattner
8b332d32be
new testacse for PR1384
...
llvm-svn: 36774
2007-05-05 01:59:05 +00:00
Duncan Sands
6e5011d208
Test that the eh lowering code can handle constant folded bitcasts.
...
llvm-svn: 36746
2007-05-04 17:14:42 +00:00
Reid Spencer
955162aaae
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
2b1b18b2db
new testcase
...
llvm-svn: 36722
2007-05-04 00:51:23 +00:00
Evan Cheng
726e66f734
Test load global in static mode.
...
llvm-svn: 36719
2007-05-04 00:29:34 +00:00
Evan Cheng
579abf45bb
New test case.
...
llvm-svn: 36717
2007-05-03 23:53:36 +00:00
Dale Johannesen
89200ce0f0
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
847f31ec25
negatize -> negative
...
llvm-svn: 36683
2007-05-03 18:20:17 +00:00
Chris Lattner
3725488356
new testcase
...
llvm-svn: 36671
2007-05-03 16:54:08 +00:00
Devang Patel
7aa944da8b
New test.
...
llvm-svn: 36661
2007-05-03 00:42:22 +00:00
Chris Lattner
483dc2bf08
match a reassociated form of fnmul
...
llvm-svn: 36659
2007-05-03 00:31:40 +00:00
Duncan Sands
89b1f3a847
Test that TREE_CONSTANT is being set correctly.
...
llvm-svn: 36645
2007-05-02 07:43:14 +00:00
Duncan Sands
e0361b4945
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
bb7989b622
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
0659c45204
Split target dependent test portions to target-specific directories.
...
llvm-svn: 36612
2007-05-01 02:56:15 +00:00
Evan Cheng
8a16201953
Test a dag combiner crasher.
...
llvm-svn: 36605
2007-05-01 00:40:38 +00:00
Chris Lattner
9d912af4e8
testcase for PR1228
...
llvm-svn: 36601
2007-04-30 23:34:46 +00:00
Chris Lattner
7c2c1b7180
testcase for PR1357
...
llvm-svn: 36598
2007-04-30 21:10:13 +00:00
Reid Spencer
e7449654d1
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
f897cb45a5
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
8a00ba1c69
Updated aliases test
...
llvm-svn: 36558
2007-04-29 10:34:42 +00:00
Anton Korobeynikov
b18f8f85e9
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
5f59451529
new testcase for PR1356
...
llvm-svn: 36535
2007-04-28 06:41:13 +00:00
Chris Lattner
7141c393b6
ensure the operand prints.
...
llvm-svn: 36533
2007-04-28 06:07:55 +00:00
Chris Lattner
61553c1340
new testcase
...
llvm-svn: 36532
2007-04-28 06:05:59 +00:00
Chris Lattner
193d2f09f0
update syntax
...
llvm-svn: 36531
2007-04-28 06:03:12 +00:00
Chris Lattner
e53e2eeecb
not fully implemented yet.
...
llvm-svn: 36530
2007-04-28 06:02:13 +00:00
Chris Lattner
73b3b80815
update for new inline asm syntax
...
llvm-svn: 36526
2007-04-28 05:20:26 +00:00
Chris Lattner
1df6c1c5b0
new testcase
...
llvm-svn: 36520
2007-04-28 00:54:45 +00:00
Lauro Ramos Venancio
940b083a63
fix the test tls1.
...
llvm-svn: 36517
2007-04-27 21:23:17 +00:00
Lauro Ramos Venancio
04750a18be
add TLS tests.
...
llvm-svn: 36516
2007-04-27 21:08:48 +00:00
Lauro Ramos Venancio
62f65468bc
In Thumb mode, the frame register must be R7.
...
llvm-svn: 36512
2007-04-27 17:58:03 +00:00
Chris Lattner
83a5e928e6
make this testcase harder, to cover PR1326
...
llvm-svn: 36509
2007-04-27 17:12:23 +00:00
Duncan Sands
9e72fc1163
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
084cbbbe25
Unxfail tests
...
llvm-svn: 36497
2007-04-26 21:20:04 +00:00
Dan Gohman
16259b4ff2
testcase for PR1339: http://llvm.org/PR1339
...
llvm-svn: 36492
2007-04-26 21:04:39 +00:00
Anton Korobeynikov
4ff20ff903
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
d7ae7f1659
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
a2f93b554d
An example for PR1362
...
llvm-svn: 36484
2007-04-26 19:28:33 +00:00
Zhou Sheng
6d207a761f
Add two test cases to cover apintification change.
...
llvm-svn: 36476
2007-04-26 16:44:48 +00:00
Chris Lattner
0cdcadc860
new testcase
...
llvm-svn: 36468
2007-04-26 05:28:45 +00:00
Reid Spencer
30d5e9449f
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
d3d914b9f8
PR1348 test case.
...
llvm-svn: 36457
2007-04-26 01:14:14 +00:00
Evan Cheng
9f12bc480b
New test case.
...
llvm-svn: 36455
2007-04-26 00:07:36 +00:00
Chris Lattner
2a4853b424
&& no longer needed
...
llvm-svn: 36453
2007-04-25 22:32:55 +00:00
Bill Wendling
9b8d17db61
Testcase for codegen bug.
...
llvm-svn: 36450
2007-04-25 21:58:17 +00:00
Lauro Ramos Venancio
4ae9425bb6
remember to emit weak reference in one more case.
...
llvm-svn: 36438
2007-04-25 14:50:40 +00:00
Anton Korobeynikov
a97b694c82
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
7ebda6ba37
new testcase, should be able to eliminate the alloca and memcpy
...
llvm-svn: 36428
2007-04-25 06:29:34 +00:00
Chris Lattner
5ec45c5b90
new testcase
...
llvm-svn: 36418
2007-04-25 01:51:33 +00:00
Devang Patel
206baa4425
New test.
...
llvm-svn: 36416
2007-04-25 00:35:37 +00:00
Chris Lattner
d7c51e5423
testcase for PR1352
...
llvm-svn: 36415
2007-04-25 00:26:05 +00:00
Chris Lattner
61e8297c44
new testcase that crashes llc
...
llvm-svn: 36412
2007-04-25 00:00:12 +00:00
Chris Lattner
02ba563c82
testcase for PR1351
...
llvm-svn: 36409
2007-04-24 22:49:57 +00:00
Bill Wendling
f4fb685122
Testcases for MMX.
...
llvm-svn: 36408
2007-04-24 22:28:30 +00:00
Devang Patel
895fa7acac
New test.
...
llvm-svn: 36401
2007-04-24 21:05:52 +00:00
Devang Patel
c829e9ff60
New test case.
...
llvm-svn: 36400
2007-04-24 19:24:39 +00:00
Devang Patel
cbb4994f6b
New test.
...
llvm-svn: 36379
2007-04-23 22:39:53 +00:00
Reid Spencer
98f713141a
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
fe6e3f49b1
Add TLS tests.
...
llvm-svn: 36360
2007-04-23 01:29:35 +00:00
Andrew Lenharth
12effef41e
simplify this test until it can be dealt with
...
llvm-svn: 36351
2007-04-22 20:58:56 +00:00
Reid Spencer
d1931feba5
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
b66633e945
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
4388f0b4fa
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
ee2d164f0f
Implement PIC for arm-linux.
...
llvm-svn: 36324
2007-04-22 00:04:12 +00:00
Reid Spencer
2bb29e778a
Add a .cvsignore file.
...
llvm-svn: 36323
2007-04-21 21:53:04 +00:00
Reid Spencer
4a82e5d7b7
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
c7f2005d45
Pass the LLVMGCC_LANGS variable through to Tcl.
...
llvm-svn: 36321
2007-04-21 21:43:18 +00:00
Reid Spencer
a043ed1fc2
llvm-dg.exp is dead, remove it.
...
llvm-svn: 36317
2007-04-21 20:48:14 +00:00
Reid Spencer
e930ee6791
Failure.sh is dead, remove it.
...
llvm-svn: 36316
2007-04-21 20:46:55 +00:00
Reid Spencer
225b2732a4
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
9e56986407
Add the llvm_supports_target function.
...
llvm-svn: 36314
2007-04-21 20:40:17 +00:00
Reid Spencer
b39d96e59c
Add the TARGETS_TO_BUILD variable.
...
llvm-svn: 36313
2007-04-21 20:39:26 +00:00
Duncan Sands
12347e05f6
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
e01dd63b87
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
c0d770b8a1
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
bff50208c8
add support for alignment attributes on load/store instructions
...
llvm-svn: 36301
2007-04-21 08:16:25 +00:00
Chris Lattner
6121802090
make this portable to 64-bit hosts
...
llvm-svn: 36297
2007-04-21 03:35:28 +00:00
Devang Patel
f119698f3f
New test case.
...
llvm-svn: 36293
2007-04-21 00:34:37 +00:00
Devang Patel
62cf9a592c
Enable Objective-C tests.
...
llvm-svn: 36281
2007-04-20 21:24:01 +00:00
Christopher Lamb
aac115a8e5
Test check in
...
llvm-svn: 36269
2007-04-20 05:05:24 +00:00
Evan Cheng
b76ba096fe
Fix test.
...
llvm-svn: 36266
2007-04-20 00:45:36 +00:00
Chris Lattner
1af7b8451e
new testcase
...
llvm-svn: 36243
2007-04-18 03:04:37 +00:00
Evan Cheng
9fcce44e7f
New crasher test case.
...
llvm-svn: 36241
2007-04-18 02:35:10 +00:00
Devang Patel
da48b7dcce
New test.
...
llvm-svn: 36235
2007-04-18 00:51:43 +00:00
Chris Lattner
4fe9eb5052
new testcase
...
llvm-svn: 36230
2007-04-17 23:43:31 +00:00
Chris Lattner
0a8d14ce67
new testcase
...
llvm-svn: 36220
2007-04-17 21:12:26 +00:00
Duncan Sands
1ff58a45ae
Use // not ; since this is C.
...
llvm-svn: 36219
2007-04-17 20:50:33 +00:00
Devang Patel
a9cde02ee3
New test case.
...
llvm-svn: 36217
2007-04-17 20:29:12 +00:00
Chris Lattner
2a4054bddb
new testcase
...
llvm-svn: 36211
2007-04-17 19:03:02 +00:00
Anton Korobeynikov
8b7aab009e
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
8e84687350
Make it work on 64-bit systems.
...
llvm-svn: 36194
2007-04-17 05:48:35 +00:00
Andrew Lenharth
fb40bd5654
this is fixed
...
llvm-svn: 36190
2007-04-17 04:07:27 +00:00
Devang Patel
74ede29a27
Add PR number for reference.
...
llvm-svn: 36184
2007-04-16 23:52:37 +00:00
Devang Patel
369bec184b
New test case.
...
llvm-svn: 36181
2007-04-16 23:02:22 +00:00
Reid Spencer
8c756a9ded
Fix this test from Duncan's experiment.
...
llvm-svn: 36176
2007-04-16 21:57:14 +00:00
Reid Spencer
658894a8eb
Also validate that the code generation of IntrinsicLowering for LLI works.
...
llvm-svn: 36175
2007-04-16 21:52:56 +00:00
Chris Lattner
f69ab9475c
refix this
...
llvm-svn: 36172
2007-04-16 21:30:21 +00:00
Chris Lattner
e0a060043b
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
6d9b520091
fix incorrectly upgraded test
...
llvm-svn: 36169
2007-04-16 21:24:14 +00:00
Chris Lattner
5e39c97ba0
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
e54ef7a8fb
remove bogus test
...
llvm-svn: 36166
2007-04-16 21:20:27 +00:00
Duncan Sands
2e1ec4dee3
Spelling fix.
...
llvm-svn: 36165
2007-04-16 21:19:45 +00:00
Chris Lattner
18d4802798
MAke this test portable.
...
llvm-svn: 36164
2007-04-16 21:18:56 +00:00
Duncan Sands
330d495889
Test code quality for variable length array references.
...
llvm-svn: 36163
2007-04-16 21:13:57 +00:00
Duncan Sands
219044fcbc
Check handling of arrays of variable sized components.
...
llvm-svn: 36162
2007-04-16 21:12:03 +00:00
Anton Korobeynikov
325d93dde4
Heal this test
...
llvm-svn: 36161
2007-04-16 21:07:00 +00:00
Chris Lattner
320ce04cb2
fix this test
...
llvm-svn: 36160
2007-04-16 21:05:37 +00:00
Evan Cheng
a17265bfbd
Fixes tests and remove xfail.
...
llvm-svn: 36152
2007-04-16 20:04:11 +00:00
Evan Cheng
6ccf9a8362
One more callee-saved register used.
...
llvm-svn: 36151
2007-04-16 18:59:25 +00:00
Evan Cheng
0c8add06f1
Fix test.
...
llvm-svn: 36150
2007-04-16 18:55:46 +00:00
Duncan Sands
475eb0f4ed
Testcase for C front-end crash.
...
llvm-svn: 36148
2007-04-16 18:51:13 +00:00
Duncan Sands
d16d149262
Testcase for debug info emission for structure fields at variable offsets.
...
llvm-svn: 36147
2007-04-16 18:49:21 +00:00
Reid Spencer
edce114669
For PR1336:
...
Un-XFAIL because this passes now.
llvm-svn: 36145
2007-04-16 17:51:25 +00:00
Reid Spencer
6e87ec4351
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.
llvm-svn: 36142
2007-04-16 17:36:08 +00:00
Lauro Ramos Venancio
675732ad38
Fix hello.ll test.
...
llvm-svn: 36141
2007-04-16 17:08:00 +00:00
Lauro Ramos Venancio
b1d58a5281
Fix align test.
...
llvm-svn: 36140
2007-04-16 16:57:47 +00:00
Duncan Sands
17a2ef6803
Look for site.exp in the build directory, not the source directory.
...
llvm-svn: 36138
2007-04-16 16:45:12 +00:00
Duncan Sands
c68668f27c
Use %s, not explicit name.
...
llvm-svn: 36136
2007-04-16 16:06:17 +00:00
Duncan Sands
389439c7c5
Change ne into !=.
...
llvm-svn: 36135
2007-04-16 15:37:00 +00:00
Reid Spencer
4dcf8bff4b
For PR1319:
...
Fix syntax of tests to ensure grep pattern is properly quoted.
llvm-svn: 36134
2007-04-16 15:31:49 +00:00
Reid Spencer
86f337eeda
For PR1319:
...
Fix test syntax per new rules.
llvm-svn: 36133
2007-04-16 15:15:52 +00:00
Reid Spencer
e7df634b3d
Fix the syntax for these tests. Noticed by Duncan Sands.
...
llvm-svn: 36132
2007-04-16 15:00:39 +00:00
Reid Spencer
c6ee811cc2
Syntax upgrade and fix for PR1336.
...
llvm-svn: 36131
2007-04-16 14:46:17 +00:00
Reid Spencer
15326fa114
For PR1336:
...
Rename test functions to not conflict with an instruction mnemonic.
llvm-svn: 36130
2007-04-16 14:23:07 +00:00
Reid Spencer
b100325547
For PR1336:
...
Ignore case for instruction mnemonic comparison.
llvm-svn: 36129
2007-04-16 14:20:28 +00:00
Reid Spencer
5203d296c6
Wrap long line.
...
llvm-svn: 36128
2007-04-16 14:17:04 +00:00
Reid Spencer
0c1a31c92f
For PR1336:
...
Ignore case for register name compare.
llvm-svn: 36127
2007-04-16 14:14:31 +00:00
Reid Spencer
fb458caf44
For PR1336:
...
Un-XFAIL as Alpha feature now specified in lower case.
llvm-svn: 36126
2007-04-16 14:07:53 +00:00
Reid Spencer
f400745e7f
Test case for PR1328.
...
llvm-svn: 36119
2007-04-16 06:52:21 +00:00
Chris Lattner
79d25c3440
make this test more portable.
...
llvm-svn: 36118
2007-04-16 06:14:28 +00:00
Chris Lattner
ae2d5291b5
fix incorrectly upgraded test
...
llvm-svn: 36117
2007-04-16 06:10:47 +00:00
Chris Lattner
aacfb36bd5
remove a bogus test
...
llvm-svn: 36116
2007-04-16 06:06:42 +00:00
Chris Lattner
5df90f03b9
update test
...
llvm-svn: 36115
2007-04-16 06:04:03 +00:00
Chris Lattner
b21b885cdf
fix incorrectly upgraded test, add PR#
...
llvm-svn: 36114
2007-04-16 05:58:47 +00:00
Reid Spencer
00d0023fb4
This needs to stay in the old bytecode format.
...
llvm-svn: 36113
2007-04-16 03:35:24 +00:00
Reid Spencer
a136852ade
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.
llvm-svn: 36112
2007-04-16 03:34:01 +00:00
Reid Spencer
cfe9ad10d1
Update for 2.0 bytecode format.
...
llvm-svn: 36111
2007-04-16 03:28:07 +00:00
Reid Spencer
1db9157b4e
Fix an intrinsic name.
...
llvm-svn: 36110
2007-04-16 03:20:22 +00:00
Reid Spencer
c7c991f4f8
For PR1336:
...
Rename the intrinsic so this can be upgraded properly. It still fails with
an llc warning
llvm-svn: 36109
2007-04-16 03:18:25 +00:00
Reid Spencer
4b4055a1ab
For PR1336:
...
Upgrade the intrinsic to its new form.
llvm-svn: 36108
2007-04-16 03:10:56 +00:00
Reid Spencer
c940d0761c
For PR1336:
...
Un-XFAIL this test now that llvm-ugprade knows how to create functions with
empty names.
llvm-svn: 36107
2007-04-16 03:06:39 +00:00
Reid Spencer
caaf8a1597
For PR1336:
...
Un-XFAIL this since it now passes with fix to llvm-upgrade.
llvm-svn: 36104
2007-04-16 02:57:47 +00:00
Reid Spencer
2875d2eadc
For PR1336:
...
Correct this test case. It was passing a uint where a ubyte was expected.
llvm-svn: 36101
2007-04-16 02:09:24 +00:00
Reid Spencer
f0cb944fd3
For PR1336:
...
Un-XFAIL this now that its working.
llvm-svn: 36100
2007-04-16 01:49:16 +00:00
Reid Spencer
59d3ca99b6
For PR1336:
...
This test was failing because of signlessness and a difference in the
way the AsmWriter prints arguments.
llvm-svn: 36098
2007-04-16 01:31:11 +00:00
Reid Spencer
e3dbe62579
For PR1336:
...
De-XFAIL tests now passing.
llvm-svn: 36097
2007-04-16 00:41:11 +00:00
Reid Spencer
6584cf60f2
For PR1336:
...
XFAIL tests covered by the PR. These will be un-XFAILed as they are fixed.
llvm-svn: 36093
2007-04-15 23:00:46 +00:00
Reid Spencer
b964f00d6a
For PR1319: Upgrade to new test harness.
...
llvm-svn: 36092
2007-04-15 22:37:04 +00:00
Reid Spencer
1c75ef2ce2
For PR1319: Upgrade to new test harness.
...
llvm-svn: 36091
2007-04-15 22:20:47 +00:00
Chris Lattner
d3fd9ecb2d
testcase for PR1335
...
llvm-svn: 36089
2007-04-15 21:37:53 +00:00
Chris Lattner
a9ce1c0130
this test isn't testing what it thought it was
...
llvm-svn: 36088
2007-04-15 21:33:36 +00:00
Reid Spencer
297657d6e6
For PR1319: Upgrade to new test harness.
...
llvm-svn: 36087
2007-04-15 21:17:45 +00:00
Reid Spencer
ff8169f5cb
For PR1319: Upgrade to new test harness.
...
llvm-svn: 36086
2007-04-15 20:48:50 +00:00