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

193 Commits

Author SHA1 Message Date
Andrew Lenharth
73913b88bb more specific tests of subtarget stuff
llvm-svn: 23570
2005-09-30 20:30:24 +00:00
Chris Lattner
7ae5d2a51d add a testcase for a feature we regressed on because noone wrote the test! :(
llvm-svn: 23513
2005-09-28 23:03:11 +00:00
Chris Lattner
eb8d9090c3 add testcase for nand
llvm-svn: 23495
2005-09-28 18:08:58 +00:00
Chris Lattner
816f712c69 Consolidate the eqv.ll and nor.ll files together.
Add a missed eqv case.

llvm-svn: 23493
2005-09-28 18:04:22 +00:00
Chris Lattner
26c05140ee simple tests for nor generation
llvm-svn: 23491
2005-09-28 17:55:10 +00:00
Chris Lattner
379b92a59d new testcase the CBE creates invalid C code for
llvm-svn: 23474
2005-09-27 20:52:30 +00:00
Chris Lattner
43fa639856 new testcase
llvm-svn: 23402
2005-09-23 00:53:06 +00:00
Chris Lattner
94198e530b Make sure to disable 64-bit extensions for this test
llvm-svn: 23309
2005-09-11 03:50:38 +00:00
Chris Lattner
491dda08c5 New testcase, neither should require a register-register copy
llvm-svn: 23290
2005-09-09 17:48:57 +00:00
Nate Begeman
63817e5779 Test the new 64bit i64<->fp functionality
llvm-svn: 23251
2005-09-06 22:23:15 +00:00
Chris Lattner
204e15f491 Test that converting from double to int64 results in one libcall, not one
and a dead one.  This is a legalize bug

llvm-svn: 23227
2005-09-02 20:24:10 +00:00
Chris Lattner
ed22d99214 new testcase to ensure fsqrt is generated for correct subtargets only, and
that the fsqrt feature works.

llvm-svn: 23217
2005-09-02 18:32:22 +00:00
Chris Lattner
0af4af9c55 This should permit NOT and's, not even dead ones.
llvm-svn: 23199
2005-09-02 00:13:56 +00:00
Chris Lattner
3772098053 Another case that shouldn't have sign extends: functions returning short
are known to return properly sign extended values, no need for an explicit
extension.

llvm-svn: 23197
2005-09-01 23:43:58 +00:00
Nate Begeman
a1cffceb07 Add regression test for efficient codegen of i32 x i32 -> hi32(i64) as
mulhs.

llvm-svn: 23183
2005-09-01 00:04:03 +00:00
Chris Lattner
57412f06ac Add a testcase for nate's patch
llvm-svn: 23172
2005-08-31 18:19:50 +00:00
Chris Lattner
281f3131ba new testcase corresponding to PR621
llvm-svn: 23157
2005-08-30 21:02:51 +00:00
Chris Lattner
5202642c06 The dag isel misses both of these, the pattern isel just misses the second
one.  TODO :)

llvm-svn: 23156
2005-08-30 18:44:09 +00:00
Chris Lattner
17d04b309c Make sure this doesn't break when we're improving the isels
llvm-svn: 23014
2005-08-24 16:48:49 +00:00
Chris Lattner
374051379d New testcase for PR618
llvm-svn: 22983
2005-08-23 20:22:07 +00:00
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