Bill Wendling
0fe4b5a113
Test for PR1641.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41762 91177308-0d34-0410-b5e6-96231b3b80d8
2007-09-07 08:30:09 +00:00
Duncan Sands
57e4785123
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41326 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-23 17:22:50 +00:00
Bill Wendling
9f30e22930
Testcase for llvm.c* intrinsic failures.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41268 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-22 07:26:30 +00:00
Duncan Sands
35a5cfeeb9
Test handling of complex constants as lvalues.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41266 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-22 05:58:22 +00:00
Dan Gohman
43c3db37f6
Convert tests using "grep -c ... | grep ..." to use the count script.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41100 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-15 13:49:33 +00:00
Dan Gohman
28beeeac4d
Convert tests using "| wc -l | grep ..." to use the count script.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41097 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-15 13:36:28 +00:00
Lauro Ramos Venancio
dd487c159b
Add a test for the load/store alignment.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40687 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-01 20:07:59 +00:00
Christopher Lamb
db9530599e
Add tests for generating noalias parameter attribute from __restrict qualified function parameters. C++ tests are currently XFAILing see PR1582.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40583 91177308-0d34-0410-b5e6-96231b3b80d8
2007-07-29 23:29:16 +00:00
Reid Spencer
6551606a99
Be explicit about which level of optimization is being asked for. The -O option
...
is equivalent to -O1.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40581 91177308-0d34-0410-b5e6-96231b3b80d8
2007-07-29 18:23:22 +00:00
Nick Lewycky
8127f3a6e6
Make this explictly signed. Fixes PR1571.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40569 91177308-0d34-0410-b5e6-96231b3b80d8
2007-07-28 16:43:10 +00:00
Chandler Carruth
f99f3f4944
Fix for PR1567, which involves a weird bug on non-32bit architectures and silly C type sizes.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40451 91177308-0d34-0410-b5e6-96231b3b80d8
2007-07-23 22:42:15 +00:00
Duncan Sands
53929871fb
Remove -O1 in favour of making llvm-gcc-4.2 a bit
...
smarter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40391 91177308-0d34-0410-b5e6-96231b3b80d8
2007-07-22 10:25:44 +00:00
Duncan Sands
3e54953c5f
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40128 91177308-0d34-0410-b5e6-96231b3b80d8
2007-07-20 22:39:06 +00:00
Reid Spencer
9445e9aaa0
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40069 91177308-0d34-0410-b5e6-96231b3b80d8
2007-07-19 23:13:04 +00:00
Reid Spencer
531ec1e7a2
Fix this test to not rely on the path but to use the
...
configured llvm-gcc instead.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@39992 91177308-0d34-0410-b5e6-96231b3b80d8
2007-07-18 04:37:24 +00:00
Reid Spencer
cb5da4a8b6
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@39963 91177308-0d34-0410-b5e6-96231b3b80d8
2007-07-17 06:20:38 +00:00
Chris Lattner
04d519e160
new testcase
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@39882 91177308-0d34-0410-b5e6-96231b3b80d8
2007-07-15 22:30:34 +00:00
John Criswell
e644ef7b09
Convert .cvsignore files
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37801 91177308-0d34-0410-b5e6-96231b3b80d8
2007-06-29 16:35:07 +00:00
Chris Lattner
839c522e0c
testcase for PR1513
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37638 91177308-0d34-0410-b5e6-96231b3b80d8
2007-06-19 00:08:42 +00:00
Tanya Lattner
eff2cdfca7
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37632 91177308-0d34-0410-b5e6-96231b3b80d8
2007-06-18 22:23:39 +00:00
Tanya Lattner
bedcd3bb9d
test case for annotate attribute
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37604 91177308-0d34-0410-b5e6-96231b3b80d8
2007-06-15 20:52:47 +00:00
Chris Lattner
94c8d3de77
rename C files to end with .c
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37535 91177308-0d34-0410-b5e6-96231b3b80d8
2007-06-09 06:10:47 +00:00
Duncan Sands
c5f7bcbae9
Make the struct bigger, in an attempt to get a "struct return" on more
...
platforms.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37489 91177308-0d34-0410-b5e6-96231b3b80d8
2007-06-07 09:35:33 +00:00
Tanya Lattner
25e0cb3180
Really use attribute.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37480 91177308-0d34-0410-b5e6-96231b3b80d8
2007-06-06 21:00:46 +00:00
Tanya Lattner
4536612477
Test case for noinline attribute.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37479 91177308-0d34-0410-b5e6-96231b3b80d8
2007-06-06 20:52:16 +00:00
Tanya Lattner
77c2b692e2
Revert changes for noinline.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37476 91177308-0d34-0410-b5e6-96231b3b80d8
2007-06-06 20:46:40 +00:00
Tanya Lattner
49fdfdb1e5
Ignore llvm.noinline
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37460 91177308-0d34-0410-b5e6-96231b3b80d8
2007-06-06 05:53:50 +00:00
Chris Lattner
ad5ace4038
new testcase for PR1421
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37356 91177308-0d34-0410-b5e6-96231b3b80d8
2007-05-30 05:37:18 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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