Commit Graph

326 Commits

Author SHA1 Message Date
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
Duncan Sands
6852c616ed Test code quality for variable length array references.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36163 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 21:13:57 +00:00
Duncan Sands
6339d4ab67 Check handling of arrays of variable sized components.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36162 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 21:12:03 +00:00
Anton Korobeynikov
beabc2698e Heal this test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36161 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 21:07:00 +00:00
Duncan Sands
62dc4dd522 Testcase for C front-end crash.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36148 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 18:51:13 +00:00
Reid Spencer
eb1d74e0c8 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36142 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 17:36:08 +00:00
Duncan Sands
0829a30f26 Use %s, not explicit name.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36136 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 16:06:17 +00:00
Reid Spencer
43b40035ba For PR1319:
Fix syntax of tests to ensure grep pattern is properly quoted.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36134 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 15:31:49 +00:00
Reid Spencer
4cda190ef5 For PR1319:
Fix test syntax per new rules.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36133 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 15:15:52 +00:00
Chris Lattner
b01b15a5e8 remove a bogus test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36116 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 06:06:42 +00:00
Chris Lattner
bd19d27bba update test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36115 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 06:04:03 +00:00
Reid Spencer
cc1731c36b For PR1336:
This test was failing because of signlessness and a difference in the
way the AsmWriter prints arguments.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36098 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-16 01:31:11 +00:00
Reid Spencer
4575ab2186 For PR1336:
XFAIL tests covered by the PR. These will be un-XFAILed as they are fixed.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36093 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-15 23:00:46 +00:00