1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 12:02:58 +02:00
Commit Graph

173 Commits

Author SHA1 Message Date
Chris Lattner
7ed2f46d60 Testcase for a crash in the legalizer on ia64. This is reduced from kc++.
llvm-svn: 22968
2005-08-22 17:16:49 +00:00
Chris Lattner
a43a966d4b Add a long-overdue itanium regression test dir: hint hint Duraid :)
llvm-svn: 22967
2005-08-22 17:15:41 +00:00
Chris Lattner
8c314e8d4d Fix a bug in the RUN line
llvm-svn: 22945
2005-08-21 16:37:36 +00:00
Chris Lattner
95a4e948da remove dead args
llvm-svn: 22900
2005-08-19 01:17:18 +00:00
Chris Lattner
3ddfd4fb7e remove dead options
llvm-svn: 22899
2005-08-19 01:16:18 +00:00
Chris Lattner
d00cbf7aa6 remove dead flags
llvm-svn: 22898
2005-08-19 01:14:40 +00:00
Jim Laskey
0022ebabdf Unmangled names.
llvm-svn: 22875
2005-08-18 20:06:09 +00:00
Jim Laskey
0e5b5a3433 1. Fix comment.
2. Get an exact count of 'li ' instructions.

llvm-svn: 22872
2005-08-18 19:38:57 +00:00
Jim Laskey
4251791f33 Add regression test to make sure that constants are generated optimally.
llvm-svn: 22871
2005-08-18 19:32:46 +00:00
Nate Begeman
413277de9a Add a testcase for load short -> uint, which is currently emitted as a
zextload + sign_extend_inreg rather than a sextload.

llvm-svn: 22852
2005-08-18 03:11:44 +00:00
Jim Laskey
a6aec27dd8 Added test cases to guarantee use of ORC and ANDC.
llvm-svn: 22772
2005-08-12 23:40:14 +00:00
Chris Lattner
bdc747bc46 testcase that crashed the ppc backend, distilled from crafty
llvm-svn: 22770
2005-08-12 23:34:03 +00:00
Jim Laskey
c79447e1ec 1. Added the function isOpcWithIntImmediate to simplify testing of operand with
specified opcode and an integer constant right operand.

2. Modified ISD::SHL, ISD::SRL, ISD::SRA to use rlwinm when applied after a mask.

llvm-svn: 22761
2005-08-11 21:59:23 +00:00
Chris Lattner
8ee8abb344 Add testcases for new rlwinm cases handled, patch by Jim Laskey!
llvm-svn: 22730
2005-08-09 20:24:16 +00:00
Chris Lattner
fbab237d76 new reg test for a failure last night on ppc/darwin
llvm-svn: 22725
2005-08-09 18:07:45 +00:00
Chris Lattner
bc93ac834b None of these tests should require a working lli, they are codegen tests,
not execution tests.

llvm-svn: 22655
2005-08-04 19:55:39 +00:00
Chris Lattner
e69b731c71 Fix this to test the BE we care about
llvm-svn: 22631
2005-08-03 21:01:46 +00:00
Nate Begeman
3c0178c886 Add a couple rlwinm tests for bitfield clears
llvm-svn: 22624
2005-08-03 18:27:17 +00:00
Nate Begeman
5a5045430c Update rlwimi tests to catch all the cases we care about
llvm-svn: 22623
2005-08-03 18:11:23 +00:00
Chris Lattner
6227ce2fb2 this tests every fp-to-integer conversion
llvm-svn: 22562
2005-07-30 01:33:38 +00:00
Andrew Lenharth
3f4c4133e5 make sure we always handle small negatives well
llvm-svn: 22503
2005-07-22 21:53:35 +00:00
Chris Lattner
85f898e908 Allow this to pass on non-linux systems as well, such as darwin
llvm-svn: 22484
2005-07-20 19:12:00 +00:00
Chris Lattner
abf3f0819e set the target triple so that we don't fail due to X86 abi issues
llvm-svn: 22479
2005-07-20 03:56:48 +00:00
John Criswell
434270ec55 Regression test for PR#596: Make sure that negation of a minus doesn't
turn into a C predecrement operator.

llvm-svn: 22438
2005-07-14 19:56:03 +00:00
Chris Lattner
3df095d677 new testcase for PR593
llvm-svn: 22418
2005-07-13 01:57:39 +00:00
Chris Lattner
63cefe75ad new testcase that crashes llc on x86/ppc. Not generated by C/C++ or LLVM
though.

llvm-svn: 22416
2005-07-13 01:42:03 +00:00
Chris Lattner
4b72dca53e add test to check for tail calls
llvm-svn: 22048
2005-05-15 05:52:51 +00:00
Chris Lattner
b7c5669c14 Make sure this is not eligible for tail-call-elimination so that we test
the correct thing.

llvm-svn: 22039
2005-05-14 23:54:55 +00:00
Chris Lattner
b87c89a574 new testcase
llvm-svn: 22037
2005-05-14 23:52:09 +00:00
Chris Lattner
918a411976 Ensure these casts are done with the hardware fildll instruction
llvm-svn: 22013
2005-05-14 07:09:25 +00:00
Chris Lattner
db4f239e62 this passes
llvm-svn: 22000
2005-05-14 02:35:38 +00:00
Chris Lattner
923a239d83 new testcase
llvm-svn: 21989
2005-05-13 22:15:26 +00:00
Andrew Lenharth
d8c9c3b76a fix regression tests
llvm-svn: 21963
2005-05-13 19:49:02 +00:00
John Criswell
8db3ffae9f These tests are currently expected to fail.
llvm-svn: 21941
2005-05-13 17:36:00 +00:00
Chris Lattner
0fcef3637c Force x86 backend
llvm-svn: 21940
2005-05-13 16:20:59 +00:00
Chris Lattner
6e96e6e431 let dj run this
llvm-svn: 21935
2005-05-13 15:44:55 +00:00
Andrew Lenharth
385f6bd18f fixed test case
llvm-svn: 21934
2005-05-13 15:42:07 +00:00
Chris Lattner
827d1b2e40 add a correct run line
llvm-svn: 21918
2005-05-13 04:20:57 +00:00
Chris Lattner
d1170afe2c reg test
llvm-svn: 21914
2005-05-12 23:09:04 +00:00
John Criswell
99562cfa9d Fix this test on Solaris.
Solaris grep is more traditional and (AFAIK) does not support regexs.
Also, single quotes should disable all shell interpretation, so no
backslashes should be needed (and, in fact, keep Solaris from working).

llvm-svn: 21902
2005-05-12 21:06:05 +00:00
Nate Begeman
71bcc67a0f Add testcase for legalizing ISD::CTTZ efficiently. On PPC, ctlz(int) is
now codegen'd as this:

        addi r2, r3, -1
        andc r2, r2, r3
        cntlzw r2, r2
        subfic r3, r2, 32
        blr

llvm-svn: 21881
2005-05-11 23:45:54 +00:00
John Criswell
55937aba69 Regression test for PR#563.
llvm-svn: 21879
2005-05-11 21:47:35 +00:00
Andrew Lenharth
b908893bab Legalize for CTLZ generates a ctpop, but this ctpop is not expanded.
This is bad.  It is generated if you are ctlz a type that is not
legal for the arch (aka ctlz of bytes on alpha legalize fine).

llvm-svn: 21867
2005-05-11 17:23:41 +00:00
Chris Lattner
c1273fc0b9 include the other bit count intrinsics
llvm-svn: 21863
2005-05-11 05:31:01 +00:00
Chris Lattner
4e9ebbc98d new testcase
llvm-svn: 21854
2005-05-11 04:22:47 +00:00
Chris Lattner
c9077e4177 new testcase
llvm-svn: 21819
2005-05-09 17:09:31 +00:00
Chris Lattner
e91ac6383d tweak test to accept the (good) code emitted by the pattern isel
llvm-svn: 21812
2005-05-09 05:54:27 +00:00
Chris Lattner
86997483e2 New testcase that crashes the pattern isel
llvm-svn: 21800
2005-05-09 03:36:11 +00:00
Chris Lattner
f83598edd5 new testcase
llvm-svn: 21699
2005-05-05 17:57:24 +00:00
Andrew Lenharth
3cde1721c7 comment fix
llvm-svn: 21685
2005-05-04 15:56:34 +00:00