Chris Lattner
af6912f980
gcroot testcase, patch by Eric Christopher.
...
llvm-svn: 42198
2007-09-21 17:48:39 +00:00
Duncan Sands
4e426623f5
Testcase for PR1678.
...
llvm-svn: 42128
2007-09-19 07:43:17 +00:00
Chris Lattner
6ad68c220a
New testcase for PR1662. GCC trees are horrible :(
...
llvm-svn: 41979
2007-09-15 05:46:41 +00:00
Anton Korobeynikov
9811eb3d07
Fix date :)
...
llvm-svn: 41870
2007-09-11 22:20:27 +00:00
Anton Korobeynikov
38f9e2a4b6
Testcase for recent pragma pack stuff
...
llvm-svn: 41869
2007-09-11 22:12:26 +00:00
Bill Wendling
5f912b9149
Test for PR1641.
...
llvm-svn: 41762
2007-09-07 08:30:09 +00:00
Duncan Sands
a0f12c5493
Fix this testcase: there are two matches for
...
llvm.cttz.i64 because of the declaration of
the intrinsic. Also, emit-llvm is automatic
and doesn't need to be specified.
llvm-svn: 41326
2007-08-23 17:22:50 +00:00
Bill Wendling
9bbecaeb55
Testcase for llvm.c* intrinsic failures.
...
llvm-svn: 41268
2007-08-22 07:26:30 +00:00
Duncan Sands
d9a21103dc
Test handling of complex constants as lvalues.
...
llvm-svn: 41266
2007-08-22 05:58:22 +00:00
Dan Gohman
ada7205b76
Convert tests using "grep -c ... | grep ..." to use the count script.
...
llvm-svn: 41100
2007-08-15 13:49:33 +00:00
Dan Gohman
f9dd170e36
Convert tests using "| wc -l | grep ..." to use the count script.
...
llvm-svn: 41097
2007-08-15 13:36:28 +00:00
Lauro Ramos Venancio
e2e7e384e3
Add a test for the load/store alignment.
...
llvm-svn: 40687
2007-08-01 20:07:59 +00:00
Christopher Lamb
3fbfad3547
Add tests for generating noalias parameter attribute from __restrict qualified function parameters. C++ tests are currently XFAILing see PR1582.
...
llvm-svn: 40583
2007-07-29 23:29:16 +00:00
Reid Spencer
7717ff5368
Be explicit about which level of optimization is being asked for. The -O option
...
is equivalent to -O1.
llvm-svn: 40581
2007-07-29 18:23:22 +00:00
Nick Lewycky
62989d6775
Make this explictly signed. Fixes PR1571.
...
llvm-svn: 40569
2007-07-28 16:43:10 +00:00
Chandler Carruth
1b37d5b019
Fix for PR1567, which involves a weird bug on non-32bit architectures and silly C type sizes.
...
llvm-svn: 40451
2007-07-23 22:42:15 +00:00
Duncan Sands
337e9c5b20
Remove -O1 in favour of making llvm-gcc-4.2 a bit
...
smarter.
llvm-svn: 40391
2007-07-22 10:25:44 +00:00
Duncan Sands
e5bd260ffc
Need -O1 or better to have these builtins lowered to
...
llvm intrinsics in llvm-gcc-4.2. This is because
get_pointer_alignment bails out: it relies on TER
to compute accurate alignment information.
llvm-svn: 40128
2007-07-20 22:39:06 +00:00
Reid Spencer
314e1cb7ee
For PR1553:
...
Change the keywords for the zext and sext parameter attributes to be
zeroext and signext so they don't conflict with the keywords for the
instructions of the same name. This gets around the ambiguity.
llvm-svn: 40069
2007-07-19 23:13:04 +00:00
Reid Spencer
2e5b07f41d
Fix this test to not rely on the path but to use the
...
configured llvm-gcc instead.
llvm-svn: 39992
2007-07-18 04:37:24 +00:00
Reid Spencer
5bc753e26b
For PR1558:
...
Move tests that have C/C++ sources into the appropriate directory. This
allows them to be selected for testing based on whether llvm-gcc is
present or not.
llvm-svn: 39963
2007-07-17 06:20:38 +00:00
Chris Lattner
ec6480e235
new testcase
...
llvm-svn: 39882
2007-07-15 22:30:34 +00:00
John Criswell
2660cef6d7
Convert .cvsignore files
...
llvm-svn: 37801
2007-06-29 16:35:07 +00:00
Chris Lattner
f2b72bf921
testcase for PR1513
...
llvm-svn: 37638
2007-06-19 00:08:42 +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
Tanya Lattner
a575a7dfda
test case for annotate attribute
...
llvm-svn: 37604
2007-06-15 20:52:47 +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
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
Tanya Lattner
277bbbc1be
Ignore llvm.noinline
...
llvm-svn: 37460
2007-06-06 05:53:50 +00:00
Chris Lattner
b6506a636b
new testcase for PR1421
...
llvm-svn: 37356
2007-05-30 05:37:18 +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
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
Devang Patel
1b9349d190
New test.
...
llvm-svn: 36997
2007-05-11 23:13:19 +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
95cd89f25b
New test for PR1400
...
llvm-svn: 36941
2007-05-08 18:08:20 +00:00
Devang Patel
91041718f7
New test.
...
llvm-svn: 36930
2007-05-08 06:10:12 +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
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
Chris Lattner
5ec45c5b90
new testcase
...
llvm-svn: 36418
2007-04-25 01:51:33 +00:00
Chris Lattner
d7c51e5423
testcase for PR1352
...
llvm-svn: 36415
2007-04-25 00:26:05 +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
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
Chris Lattner
6121802090
make this portable to 64-bit hosts
...
llvm-svn: 36297
2007-04-21 03:35:28 +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
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
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
Duncan Sands
475eb0f4ed
Testcase for C front-end crash.
...
llvm-svn: 36148
2007-04-16 18:51:13 +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
Duncan Sands
c68668f27c
Use %s, not explicit name.
...
llvm-svn: 36136
2007-04-16 16:06:17 +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
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
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
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
2baeaae8f4
For PR1319: Upgrade to new test harness.
...
llvm-svn: 36082
2007-04-15 20:08:37 +00:00
Dale Johannesen
23da023a58
adjust per review comments
...
llvm-svn: 36041
2007-04-15 02:40:12 +00:00
Dale Johannesen
20746d84c2
testcases for -fno-builtin
...
llvm-svn: 36038
2007-04-15 00:18:31 +00:00
Dale Johannesen
036cd14ecb
tests for struct/union as input operands to asm.
...
llvm-svn: 35976
2007-04-13 22:54:11 +00:00
Dale Johannesen
5c87869622
testcases for function linkage
...
llvm-svn: 35955
2007-04-12 21:01:53 +00:00
Devang Patel
180ff253ed
New test case for PR 1321.
...
llvm-svn: 35934
2007-04-12 00:32:43 +00:00
Chris Lattner
8aa5b4545f
new testcase.
...
llvm-svn: 35931
2007-04-11 23:45:16 +00:00
Chris Lattner
6d87faf14f
new testcase
...
llvm-svn: 35927
2007-04-11 22:36:10 +00:00
Reid Spencer
d029c7e666
Make the llvm-runtest function much more amenable by eliminating all the
...
global variables that needed to be passed in. This makes it possible to
add new global variables with only a couple changes (Makefile and llvm-dg.exp)
instead of touching every single dg.exp file.
llvm-svn: 35918
2007-04-11 19:56:59 +00:00
Dale Johannesen
0a3d673b4a
testcase for padding before zero-length fields.
...
llvm-svn: 35687
2007-04-05 19:05:43 +00:00
Devang Patel
bc09c71159
New tests for Packed structs.
...
llvm-svn: 35685
2007-04-05 17:07:48 +00:00
Jeff Cohen
b4470fb0bf
Fix some FreeBSD/amd64 regressions.
...
llvm-svn: 35675
2007-04-04 22:07:44 +00:00
Anton Korobeynikov
ecc769e4f2
Add testcase for correct sret handling.
...
llvm-svn: 35562
2007-04-01 22:03:04 +00:00
Duncan Sands
2e45201769
Testcase for the problem worked around in
...
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070319/046204.html
llvm-svn: 35554
2007-04-01 15:29:02 +00:00
Chris Lattner
cdf6823e10
llvm-gcc now requires -fnested-functions to enable them in C.
...
llvm-svn: 35217
2007-03-20 17:34:31 +00:00
Duncan Sands
76e4fdf879
Test handling of structs with multiple variable-sized fields.
...
llvm-svn: 35212
2007-03-20 14:13:20 +00:00
Reid Spencer
175296cd1b
Use opt instead of gccas.
...
llvm-svn: 35168
2007-03-19 18:25:55 +00:00
Reid Spencer
4e9a0b7976
Fix the pattern.
...
llvm-svn: 34994
2007-03-07 00:39:11 +00:00
Reid Spencer
6dfc9da3b3
Make this test more reliable across platforms.
...
llvm-svn: 34993
2007-03-07 00:32:12 +00:00
Reid Spencer
87052bc86f
Don't run lli in llvm-test. Instead just check that the datalayout string
...
is the right length.
llvm-svn: 34973
2007-03-06 17:48:25 +00:00
Reid Spencer
1bb655d1b9
Fix this to put its output in the output directory.
...
llvm-svn: 34971
2007-03-06 17:44:43 +00:00
Reid Spencer
3f634774aa
Test to ensure that data layout is generated correctly for host platform.
...
This is for PR1242.
llvm-svn: 34944
2007-03-06 03:00:17 +00:00
Chris Lattner
870055ef79
testcase for PR1233
...
llvm-svn: 34840
2007-03-02 07:29:59 +00:00
Chris Lattner
eef0a351b1
new testcase
...
llvm-svn: 34611
2007-02-25 22:02:01 +00:00
Chris Lattner
8982e3b063
this passes now
...
llvm-svn: 34426
2007-02-19 20:20:04 +00:00
Chris Lattner
6d6d70ba18
testcase for PR1170
...
llvm-svn: 34366
2007-02-17 05:44:57 +00:00
Chris Lattner
f37f0479b8
new testcase for -fwritable-strings
...
llvm-svn: 34365
2007-02-17 05:07:40 +00:00
Chris Lattner
3ae936ce69
new testcase
...
llvm-svn: 34361
2007-02-17 01:44:21 +00:00
Reid Spencer
a83a1dc3dd
Eliminate the use of gccas in the test suite.
...
llvm-svn: 34088
2007-02-09 15:15:21 +00:00
Chris Lattner
0591d43ea1
New testcase for PR947
...
llvm-svn: 34038
2007-02-08 04:34:03 +00:00
Chris Lattner
9ffe03c24e
llvm-gcc3 is gone
...
llvm-svn: 34037
2007-02-08 04:31:15 +00:00
Chris Lattner
1ef3bb8be6
new testcase for nested functions
...
llvm-svn: 34017
2007-02-07 23:28:08 +00:00
Chris Lattner
0132cdda10
new testcase for 1174, currently xfailed
...
llvm-svn: 33898
2007-02-05 03:56:59 +00:00