Chris Lattner
c183061f7c
Testcase to show we can tie together integers and pointers of
...
the same size.
llvm-svn: 61380
2008-12-23 18:52:26 +00:00
Tanya Lattner
129f4febd2
Add test case for ptr annotation.
...
llvm-svn: 59142
2008-11-12 16:12:27 +00:00
Bill Wendling
1579287550
The method of doing the matching with a 'select' instruction was wrong. The
...
original code was matching like this:
if (match(A, m_Not(m_Value(B))))
B was already matched as a 'select' instruction. However, this isn't matching
what we think it's matching. It would match B as a 'Value', so basically
anything would match to it. In this case, a Constant matched. B was replaced
with a constant representation. And then the wrong value would be used in the
SelectInst::Create statement, causing a crash.
After thinking on this for a moment, and after Nick L. told me how the pattern
matching stuff was supposed to work, the solution was to match NOT an m_Value,
but an m_Select.
llvm-svn: 58946
2008-11-09 23:17:42 +00:00
Anton Korobeynikov
c11b47911d
Testcase for PR2691
...
llvm-svn: 58567
2008-11-02 16:46:17 +00:00
Duncan Sands
aa53c491b2
Testcase for PR2987.
...
llvm-svn: 58459
2008-10-30 21:13:11 +00:00
Duncan Sands
f33c3bc51f
Make the declaration of bzero match size_t on
...
x86-64-linux.
llvm-svn: 58383
2008-10-29 15:57:37 +00:00
Chris Lattner
9246c2c8e1
make this test not depend on how the system header defines memset.
...
llvm-svn: 58016
2008-10-23 00:24:51 +00:00
Chris Lattner
acc2eb484b
new testcase for PR2797
...
llvm-svn: 57481
2008-10-14 06:56:04 +00:00
Duncan Sands
1db4fbdfbe
Don't barf on 32 bit platforms if llvm-gcc is
...
not built with 64 bit support. Since this test
passes without -m64 on x86-32-linux, just remove
the -m64.
llvm-svn: 57462
2008-10-13 19:56:36 +00:00
Dale Johannesen
bb5d04fc82
Remove "long" variants so these will pass on a 64-bit host.
...
llvm-svn: 57418
2008-10-12 18:40:49 +00:00
Evan Cheng
423b4f24c8
Test fp not.
...
llvm-svn: 56534
2008-09-24 00:50:16 +00:00
Evan Cheng
3276416fa4
Test case for fp logical instructions.
...
llvm-svn: 56474
2008-09-22 22:19:34 +00:00
Bill Wendling
3f41b87e8d
Fix test to account for no more whitespace and that one of the matches is the
...
"declare" statement.
llvm-svn: 56241
2008-09-16 06:40:04 +00:00
Bill Wendling
07fe6c8a07
Remove space that was forgotten.`
...
llvm-svn: 56240
2008-09-16 06:30:47 +00:00
Duncan Sands
7db9a7874b
Prevent our own passes from promoting this to
...
readonly.
llvm-svn: 55858
2008-09-05 21:34:32 +00:00
Dale Johannesen
462a071c38
Adjust tests to expect new math intrinsics to be
...
emitted only when errno is not in use.
llvm-svn: 55797
2008-09-04 21:24:28 +00:00
Dale Johannesen
57d3d8aba2
Adjust libcalls tests to expect intrinsic for exp2
...
llvm-svn: 55784
2008-09-04 18:44:20 +00:00
Devang Patel
167adebb3f
Update test to check call instruction.
...
llvm-svn: 55702
2008-09-03 17:05:49 +00:00
Duncan Sands
13ea919664
Testcase for PR1678.
...
llvm-svn: 55695
2008-09-03 07:52:01 +00:00
Dale Johannesen
1a83a9973b
New testcase for targets without 64-bit atomics;
...
xfail old test for ppc.
llvm-svn: 55651
2008-09-02 21:19:30 +00:00
Dale Johannesen
f9c90d3cee
Comprehensive test of FE handling of __sync builtins.
...
llvm-svn: 55206
2008-08-22 21:47:03 +00:00
Chris Lattner
71573d05f9
ll printer prints each zeroinit on the same line now, update regex
...
llvm-svn: 55025
2008-08-20 00:33:57 +00:00
Nick Lewycky
248559aaa5
Testcase for r54520.
...
llvm-svn: 54521
2008-08-08 07:00:26 +00:00
Dale Johannesen
3b45982c78
Testcases for 54503. One derived from PR 2533, the
...
other from Python.
llvm-svn: 54505
2008-08-08 03:37:11 +00:00
Duncan Sands
acf0189b4b
Testcase for PR2520.
...
llvm-svn: 53230
2008-07-08 10:11:36 +00:00
Matthijs Kooijman
f61fd54237
Make LLVM compile on DragonFly BSD (PR2499).
...
Patch by Hasso Tepper!
llvm-svn: 52781
2008-06-26 10:36:58 +00:00
Chris Lattner
54d26c6b12
Fix a warning, closing PR2452
...
llvm-svn: 52529
2008-06-20 05:33:29 +00:00
Chris Lattner
65ee4e3a5c
Fix a warning.
...
llvm-svn: 52528
2008-06-20 05:31:04 +00:00
Chris Lattner
ba00c761b7
fix a warning.
...
llvm-svn: 52526
2008-06-20 05:28:56 +00:00
Matthijs Kooijman
261e976fba
Fix PR numbers, I accidentally switched two digits.
...
llvm-svn: 52311
2008-06-16 09:38:23 +00:00
Matthijs Kooijman
c5d12eb318
XFAIL some tests that became failing due to the extra error reporting recently. PR's are created for these.
...
llvm-svn: 52250
2008-06-13 16:52:35 +00:00
Evan Cheng
2d788ce3fb
Fix some tests.
...
llvm-svn: 52245
2008-06-12 21:23:38 +00:00
Dale Johannesen
3978cc5f3b
Add -w to inhibit gcc warnings, which causes the
...
harness to fail the tests. The warning all appear
legitimate.
llvm-svn: 52186
2008-06-10 18:00:09 +00:00
Matthijs Kooijman
c62a5aaa1d
Fix some llvm-gcc warnings in testcases, mostly by adding includes or adding
...
declarations. These are the fixes that I was pretty confident about, there are
still a lot of other llvm-gcc warnings of which I'm not sure if they can be
safely ignored or fixed, without breaking the test case.
This fixes 11 testcases.
llvm-svn: 52176
2008-06-10 14:37:44 +00:00
Nick Lewycky
048fc8db62
Unbreak this test.
...
llvm-svn: 51726
2008-05-30 05:02:37 +00:00
Anton Korobeynikov
d8734cf916
For PR1338: Rename test dirs
...
llvm-svn: 51695
2008-05-29 19:17:15 +00:00