Duncan Sands
ef4d3ad387
Check that the first and third characters, s and u,
...
are accessed with an alignment of 2 not 1.
llvm-svn: 43932
2007-11-09 07:47:29 +00:00
Duncan Sands
90137bda38
Check that accesses to the second short, t, have
...
an alignment of 2 rather than 4.
llvm-svn: 43931
2007-11-09 07:46:02 +00:00
Bill Wendling
910f86f8d3
Add testcase
...
llvm-svn: 43839
2007-11-07 19:36:26 +00:00
Devang Patel
d646b31441
New test.
...
llvm-svn: 43527
2007-10-30 23:07:47 +00:00
Bill Wendling
0d90333ff2
Test to make sure that if we have an unaligned memcpy, it will still compile.
...
llvm-svn: 43412
2007-10-26 23:43:35 +00:00
Dale Johannesen
0d3f583c8b
Testcase for PR 1397.
...
llvm-svn: 43323
2007-10-25 00:50:14 +00:00
Bill Wendling
df262eb966
Don't branch fold inline asm statements.
...
llvm-svn: 43191
2007-10-19 21:09:55 +00:00
Devang Patel
a1947ff877
New test.
...
llvm-svn: 42986
2007-10-15 15:41:07 +00:00
Chris Lattner
cd424fc6c2
testcase for PR1647
...
llvm-svn: 42570
2007-10-03 05:29:07 +00:00
Devang Patel
97960ce055
PR 1603 test case.
...
llvm-svn: 42502
2007-10-01 21:22:57 +00:00
Devang Patel
0f55c6012c
Do not ignore packed member size while selecting union type.
...
llvm-svn: 42458
2007-09-28 23:54:26 +00:00
Chris Lattner
340cc2bcc1
new testcase for PR1708
...
llvm-svn: 42398
2007-09-27 15:47:16 +00:00
Duncan Sands
b44b922bc1
Test the C front-end, not the C++ front-end.
...
llvm-svn: 42350
2007-09-26 07:28:20 +00:00
Duncan Sands
41eb9bf1f1
Test that local variables are aligned as the user requested.
...
llvm-svn: 42338
2007-09-26 04:04:29 +00:00
Tanya Lattner
52ae97fea6
XFAIL for llvm-gcc4.0
...
llvm-svn: 42266
2007-09-24 17:14:53 +00:00
Chris Lattner
966871b0df
gcroot testcase, patch by Eric Christopher.
...
llvm-svn: 42198
2007-09-21 17:48:39 +00:00
Duncan Sands
159524a84f
Testcase for PR1678.
...
llvm-svn: 42128
2007-09-19 07:43:17 +00:00
Chris Lattner
489e7aa85f
New testcase for PR1662. GCC trees are horrible :(
...
llvm-svn: 41979
2007-09-15 05:46:41 +00:00
Anton Korobeynikov
ed40962dc3
Fix date :)
...
llvm-svn: 41870
2007-09-11 22:20:27 +00:00
Anton Korobeynikov
c8ca85bf8f
Testcase for recent pragma pack stuff
...
llvm-svn: 41869
2007-09-11 22:12:26 +00:00
Bill Wendling
538f8f9d7f
Test for PR1641.
...
llvm-svn: 41762
2007-09-07 08:30:09 +00:00
Duncan Sands
30440c6c4e
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
d3c8db882d
Testcase for llvm.c* intrinsic failures.
...
llvm-svn: 41268
2007-08-22 07:26:30 +00:00
Duncan Sands
f275ac587b
Test handling of complex constants as lvalues.
...
llvm-svn: 41266
2007-08-22 05:58:22 +00:00
Dan Gohman
34263074cb
Convert tests using "grep -c ... | grep ..." to use the count script.
...
llvm-svn: 41100
2007-08-15 13:49:33 +00:00
Dan Gohman
794fa1f8f7
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
699e4b2dec
Add a test for the load/store alignment.
...
llvm-svn: 40687
2007-08-01 20:07:59 +00:00
Christopher Lamb
0df2d6e9e5
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
3df94811d2
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
391b3e4b4c
Make this explictly signed. Fixes PR1571.
...
llvm-svn: 40569
2007-07-28 16:43:10 +00:00
Chandler Carruth
f4eead2a50
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
644d0388fc
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
925762f19b
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
44d34e9b61
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
beabff6111
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
175fd0a317
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
f2fd4e185e
new testcase
...
llvm-svn: 39882
2007-07-15 22:30:34 +00:00
John Criswell
57e5ed4b5a
Convert .cvsignore files
...
llvm-svn: 37801
2007-06-29 16:35:07 +00:00
Chris Lattner
cff3e1bbe5
testcase for PR1513
...
llvm-svn: 37638
2007-06-19 00:08:42 +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
Tanya Lattner
d0ed17d5fa
test case for annotate attribute
...
llvm-svn: 37604
2007-06-15 20:52:47 +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
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
Tanya Lattner
8f222410c8
Ignore llvm.noinline
...
llvm-svn: 37460
2007-06-06 05:53:50 +00:00
Chris Lattner
3fdd243182
new testcase for PR1421
...
llvm-svn: 37356
2007-05-30 05:37:18 +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