Commit Graph

3596 Commits

Author SHA1 Message Date
Chris Lattner
b62eee4a69 new testcase, update old one.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35699 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-06 18:56:54 +00:00
Reid Spencer
11eec56a04 XFAIL this test for now. It will be a while before I can implement this
intrinsic properly in SDISel.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35692 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-05 22:57:45 +00:00
Chris Lattner
65fe9124e3 new testcase that crashes globalopt
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35688 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-05 21:09:29 +00:00
Dale Johannesen
285d96e63f testcase for padding before zero-length fields.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35687 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-05 19:05:43 +00:00
Devang Patel
f1bc4ad1e5 New tests for Packed structs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35686 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-05 17:14:21 +00:00
Devang Patel
13eb4c6587 New tests for Packed structs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35685 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-05 17:07:48 +00:00
Anton Korobeynikov
56f54d431b Fix test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35683 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-05 16:43:09 +00:00
Reid Spencer
addd11d98e Implement the llvm.bit.part_select.iN.iN.iN overloaded intrinsic.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35678 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-04 23:48:25 +00:00
Reid Spencer
93a8415cef Ignore some things generated by bugpoint.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35677 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-04 22:47:38 +00:00
Jeff Cohen
00361004a6 Fix some FreeBSD/amd64 regressions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35675 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-04 22:07:44 +00:00
Anton Korobeynikov
a6d3f1341d Fix test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35673 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-04 21:28:36 +00:00
Anton Korobeynikov
5502bf67cd Properly emit range comparisons for switch cases, where neighbour cases
go to the same destination. Now we're producing really good code for
switch-lower-feature.ll testcase


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35672 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-04 21:14:49 +00:00
Jeff Cohen
bbf6f5751d Any add is wrong, regardless of type.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35671 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-04 20:40:44 +00:00
Jeff Cohen
bd8987285b Get it right...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35670 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-04 20:35:31 +00:00
Dale Johannesen
50781eacd5 Test for transformConstExprCastCall fix.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35669 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-04 19:18:16 +00:00
Jeff Cohen
451994334d Add new test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35664 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-04 16:11:23 +00:00
Evan Cheng
1c89bd10b3 Better still.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35663 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-04 08:49:40 +00:00
Evan Cheng
43cbb2d33d Fix test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35662 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-04 07:41:33 +00:00
Evan Cheng
96598233fc These got better.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35661 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-04 07:41:15 +00:00
Evan Cheng
755e98bf63 New asm test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35641 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-04 00:15:17 +00:00
Evan Cheng
6edf810555 New test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35636 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-03 23:40:54 +00:00
Chris Lattner
2a088e4f09 move these to FrontendAda
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35631 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-03 21:48:02 +00:00
Chris Lattner
327e0029c0 testcase for recent bugfix
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35630 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-03 21:47:36 +00:00
Chris Lattner
e10988ddbd move ada tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35629 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-03 21:46:22 +00:00
Evan Cheng
e996748ea0 New test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35628 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-03 21:38:03 +00:00
Chris Lattner
08a3fbe42e new testcase for PR1253
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35611 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-03 01:45:32 +00:00
Chris Lattner
baf21999a9 new testcase, where we should use a negative stride
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35608 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-03 00:13:16 +00:00
Chris Lattner
19e970542d Add a regtest for cases we now recognize as rotates, thanks to Scott Michel's
recent dagcombine patch


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35606 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-02 22:08:54 +00:00
Chris Lattner
7b3b7e1e8e fix this testcase so it passes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35604 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-02 20:46:28 +00:00
Chris Lattner
0a266af5ce fix this testcase on ppc hosts
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35603 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-02 20:39:48 +00:00
Evan Cheng
ff6ad39bfb New test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35599 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-02 18:47:13 +00:00
Chris Lattner
44ad85e0e8 new testcase.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35591 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-02 06:33:10 +00:00
Chris Lattner
465b7157d1 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35589 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-02 05:57:59 +00:00
Chris Lattner
7a32bc9b9b creative way to add one.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35583 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-02 05:35:08 +00:00
Chris Lattner
028856dc39 my patch fixed the fixme.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35582 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-02 05:08:54 +00:00
Reid Spencer
443af5b65f Fix illegal assembly syntax.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35581 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-02 03:24:47 +00:00
Reid Spencer
f1b18a7bdb Add a test case to make sure that constant folding of the bit counting
intrinsics works.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35577 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-02 01:45:31 +00:00
Chris Lattner
56371694bf new testcase for PR1296
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35574 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-02 01:32:59 +00:00
Lauro Ramos Venancio
9996663fc6 - Divides the comparisons in two types: comparisons that only use N and Z
flags (ARMISD::CMPNZ) and comparisons that use all flags (ARMISD::CMP).
- Defines the instructions: TST, TEQ (ARM) and TST (Thumb).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35573 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-02 01:30:03 +00:00
Reid Spencer
9277e3bbd3 Let llvm-upgrade upgrade the bswap intrinsic.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35569 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-02 01:09:19 +00:00
Reid Spencer
2b35c15487 Let llvm-upgrade upgrade bswap intrinsic.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35568 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-02 01:08:02 +00:00
Reid Spencer
86189a4460 Revert the name changes for llvm.bswap to allow (and test) llvm-upgrade of
this intrinsic.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35566 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-02 00:51:15 +00:00
Anton Korobeynikov
779dff1eee Add testcase for correct sret handling.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35562 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-01 22:03:04 +00:00
Duncan Sands
320c6e97df Testcase for the problem worked around in
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070319/046204.html


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35554 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-01 15:29:02 +00:00
Reid Spencer
a3c533a716 For PR1297:
Update these test cases to use proper signatures for bswap which is now
and overloaded intrinsic. Its name must be of the form llvm.bswap.i32.i32
since both the parameter and the result or of type "iAny". Also, the
bit counting intrinsics changed to always return i32.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35548 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-01 07:36:28 +00:00
Chris Lattner
87a6428bf5 not not!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35537 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-01 06:19:41 +00:00
Chris Lattner
6a606aff3c New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35535 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-01 05:34:53 +00:00
Evan Cheng
00ef8d45e2 Missing '&&'
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35519 91177308-0d34-0410-b5e6-96231b3b80d8
2007-03-30 22:03:49 +00:00
Chris Lattner
b4c377f5dd add a testcase for x86
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35516 91177308-0d34-0410-b5e6-96231b3b80d8
2007-03-30 21:22:46 +00:00
Evan Cheng
6eec2261e7 New test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35515 91177308-0d34-0410-b5e6-96231b3b80d8
2007-03-30 20:41:18 +00:00