1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-30 07:22:55 +01:00
Commit Graph

2402 Commits

Author SHA1 Message Date
Chris Lattner
b2570d5cc8 new testcases for the stackrestore instcombine optimizations
llvm-svn: 25297
2006-01-13 22:01:47 +00:00
Chris Lattner
77ea183840 New testcase that functions with dynamic allocas can be inlined, and are
inlined correctly.

llvm-svn: 25287
2006-01-13 19:35:05 +00:00
Chris Lattner
fd8de0ee24 testcase for the llvm.stacksave/llvm.stackrestore intrinsics.
llvm-svn: 25269
2006-01-13 02:25:08 +00:00
Evan Cheng
c292939f84 Test case for a SETCC / BRCOND folding bug.
llvm-svn: 25258
2006-01-13 01:02:22 +00:00
Duraid Madina
14c66214a3 verily, sabre did leave
and yea! Saem said "ARRR."

meanwhile, the pinksias and the campfires and the ET forests glowed.

llvm-svn: 25240
2006-01-12 02:50:34 +00:00
Nate Begeman
93dc802c60 Add testcase for rotate by register and rotate by immediate
llvm-svn: 25228
2006-01-11 22:58:12 +00:00
Chris Lattner
bba389b012 Testcase the PPC backend is miscompiling.
llvm-svn: 25216
2006-01-11 18:15:37 +00:00
Chris Lattner
d1b126aa79 catch all forms of xnor
llvm-svn: 25208
2006-01-11 07:13:22 +00:00
Chris Lattner
8f96cc65bb new testcase for extractelement instruction
llvm-svn: 25186
2006-01-10 20:00:20 +00:00
Chris Lattner
9d4d1b1220 Modify this test to not depend on the host math.h implementation
llvm-svn: 25138
2006-01-07 01:37:25 +00:00
Chris Lattner
e585f4fa9d A case that instcombine is not catching.
llvm-svn: 25127
2006-01-06 07:48:28 +00:00
Chris Lattner
b11a652b2a new tests, derived from cosmics scheme output
llvm-svn: 25111
2006-01-05 07:46:46 +00:00
Andrew Lenharth
9d2a49f0e3 Change this regression so andi is not a valid codegen of it
llvm-svn: 25056
2006-01-01 22:14:31 +00:00
Chris Lattner
d84f4721b0 this test fails
llvm-svn: 24994
2005-12-23 16:14:29 +00:00
Chris Lattner
70b2f56c5a this test is malformed
llvm-svn: 24993
2005-12-23 16:13:52 +00:00
Reid Spencer
56825ced86 Fix PR409:
Implement the suggested check to ensure that out-of-range float constants
don't get accepted by LLVM accidentally. Adjust the supporting test cases
as well.

llvm-svn: 24963
2005-12-22 21:07:29 +00:00
Chris Lattner
74d01d7e5a new testcase
llvm-svn: 24902
2005-12-21 17:52:42 +00:00
Chris Lattner
4fa158dc7b new testcase, fails on X86 and probably others
llvm-svn: 24894
2005-12-21 05:09:57 +00:00
Chris Lattner
bf9467792f A truly trivial testcase to ensure sparcv8 doesn't get completely broken
again.

llvm-svn: 24737
2005-12-16 06:24:55 +00:00
Nate Begeman
ff176f341e Add a case for float just to make sure the patterns for both precisions
are matching

llvm-svn: 24718
2005-12-14 22:51:13 +00:00
Chris Lattner
696d16afce new testcase, each function should have one extension instr in it
llvm-svn: 24711
2005-12-14 19:24:08 +00:00
Chris Lattner
d4d067561f new (undefined) testcase, distilled from 126.gcc that scalarrepl crashes on
llvm-svn: 24707
2005-12-14 17:23:20 +00:00
Chris Lattner
31de4bc6e3 Testcase for a problem that reid ran into
llvm-svn: 24676
2005-12-12 22:27:22 +00:00
Chris Lattner
20ac616376 new testcase: sra should be able to eliminate all of these alloca's, despite
the presense of pointer casts

llvm-svn: 24666
2005-12-12 07:18:59 +00:00
Chris Lattner
dd61c1da30 new testcase for PR662
llvm-svn: 24618
2005-12-06 17:29:54 +00:00
Chris Lattner
722e95ebce New testcase for PR660
llvm-svn: 24601
2005-12-05 04:48:12 +00:00
Chris Lattner
1ad0a1706d testcase for PR664
llvm-svn: 24600
2005-12-05 03:22:46 +00:00
Chris Lattner
a5ec715ca6 new testcase, for PR672
llvm-svn: 24584
2005-12-04 06:03:25 +00:00
Chris Lattner
28c1c6a9ee expand testcase, which has been in my tree for a while now
llvm-svn: 24582
2005-12-03 18:26:41 +00:00
Chris Lattner
523b163d74 new testcase, miscompiled by simplifycfg. This has been distilled from Ptrdist/bc
llvm-svn: 24580
2005-12-03 18:25:32 +00:00
Chris Lattner
fec5a65507 Fix a bug in the testcase
llvm-svn: 24579
2005-12-03 17:20:57 +00:00
Chris Lattner
146d8c549b new testcase for PR672
llvm-svn: 24577
2005-12-03 07:14:47 +00:00
Chris Lattner
6b899587b1 New testcase that crashes llc
llvm-svn: 24570
2005-12-01 23:14:09 +00:00
Chris Lattner
74cdf784cc Test that crashes the ppc backend.
llvm-svn: 24546
2005-11-30 20:40:28 +00:00
Chris Lattner
bf0175cf8f new testcase dse is miscompiling
llvm-svn: 24544
2005-11-30 19:37:08 +00:00
Chris Lattner
10bc24c5b2 new testcase for pr670
llvm-svn: 24507
2005-11-29 01:06:51 +00:00
Chris Lattner
6efddab321 This should not be dce'd
llvm-svn: 24433
2005-11-20 21:46:52 +00:00
Andrew Lenharth
56419c94c7 oops
llvm-svn: 24432
2005-11-20 21:42:49 +00:00
Andrew Lenharth
957fb1697e check that rdtsc is generated from readcyclecounter
llvm-svn: 24431
2005-11-20 21:41:59 +00:00
Chris Lattner
98ebd7a7d0 testcase for recent indvars patches
llvm-svn: 24415
2005-11-18 19:38:15 +00:00
Chris Lattner
7c43f5683f This passes on ppc and x86 now
llvm-svn: 24378
2005-11-16 07:24:31 +00:00
Chris Lattner
dc38dae8b5 this is no apparently passing on alpha
llvm-svn: 24331
2005-11-12 18:35:13 +00:00
Chris Lattner
63aaf38163 new testcase
llvm-svn: 24310
2005-11-12 00:10:02 +00:00
Andrew Lenharth
dca2f13e76 continued readcyclecounter support
llvm-svn: 24300
2005-11-11 16:47:30 +00:00
Chris Lattner
b4ea0f4c7d Check that this compiles to a label with a space in it.
llvm-svn: 24284
2005-11-10 19:33:04 +00:00
John Criswell
8f29899aa3 Merged from RELEASE_16.
llvm-svn: 24243
2005-11-08 21:11:33 +00:00
Chris Lattner
e859d486df add alignment info for globals and functions
llvm-svn: 24213
2005-11-06 06:52:11 +00:00
Chris Lattner
28c9ac03ef new testcase
llvm-svn: 24202
2005-11-05 22:07:30 +00:00
Chris Lattner
f94c31b160 New testcase
llvm-svn: 24191
2005-11-05 08:20:28 +00:00
Andrew Lenharth
1298acb17d This is missed by InstCombine, patch comming
llvm-svn: 24157
2005-11-02 18:34:05 +00:00
Chris Lattner
92d3dff7a6 Apparently these do pass on some alphas
llvm-svn: 24125
2005-10-31 19:06:13 +00:00
Chris Lattner
8972a3ed6d these tests fail on alpha for some reason
llvm-svn: 24120
2005-10-31 16:15:49 +00:00
Chris Lattner
a3caadae77 new testcase
llvm-svn: 24112
2005-10-30 19:42:18 +00:00
Chris Lattner
83d5898377 The pass was removed, but the spirit lives on
llvm-svn: 24108
2005-10-30 07:22:15 +00:00
Chris Lattner
acb8e66439 new testcase
llvm-svn: 24103
2005-10-30 06:37:33 +00:00
Chris Lattner
1ce35bf973 new testcase
llvm-svn: 24099
2005-10-30 05:14:02 +00:00
Duraid Madina
5748cfa290 test for the formation of shladd
llvm-svn: 24077
2005-10-29 04:06:49 +00:00
Chris Lattner
bbf8c885a5 add the xfail lines
llvm-svn: 24066
2005-10-28 19:57:55 +00:00
Chris Lattner
2015ee2afb New testcase. Probably many targets don't support this, so they should probably
add themselves as xfails until they do (at least for the release).

llvm-svn: 24065
2005-10-28 19:52:02 +00:00
Nate Begeman
9570b6e9e5 Add a regression test for the recent fix for FP_TO_UINT lowering in the ppc
backend.

llvm-svn: 23995
2005-10-25 23:53:21 +00:00
Chris Lattner
b934901b46 This pass is gone
llvm-svn: 23955
2005-10-24 04:18:05 +00:00
Chris Lattner
33ff6352bb this pass is gone
llvm-svn: 23954
2005-10-24 04:17:31 +00:00
Chris Lattner
7d5010382a New testcase that crashes the ppc backend
llvm-svn: 23871
2005-10-21 21:09:13 +00:00
John Criswell
ef91e2976a Moved to Regression/Codegen/Generic.
llvm-svn: 23829
2005-10-19 18:52:52 +00:00
John Criswell
c1547066cd This is a generic test for all code generators. It originally came from
Regression/Codegen/X86.

llvm-svn: 23826
2005-10-19 18:51:07 +00:00
John Criswell
190ec6e8f8 Force i386 code generation for an i386 specific test.
llvm-svn: 23821
2005-10-19 18:30:39 +00:00
Chris Lattner
fb8bc57259 Testcase that crashes llvmgcc in type layout
llvm-svn: 23806
2005-10-19 00:52:21 +00:00
Chris Lattner
1cf142a7d4 new testcase
llvm-svn: 23798
2005-10-18 22:13:39 +00:00
John Criswell
1ece5aa9da Use %s instead of hard coding the input filename.
This allows the test to work when srcdir != objdir.

llvm-svn: 23775
2005-10-17 21:54:18 +00:00
Chris Lattner
d8ed29bb67 Nate implemented this :)
llvm-svn: 23707
2005-10-13 06:04:34 +00:00
Chris Lattner
2beb0862d5 this passes with the change in predicate
llvm-svn: 23699
2005-10-11 18:42:26 +00:00
Chris Lattner
862a6ea0ac lsr doesn't emit gep instructions anymore
llvm-svn: 23696
2005-10-11 18:28:48 +00:00
Chris Lattner
8290d31c12 new testcase
llvm-svn: 23689
2005-10-10 21:57:37 +00:00
Chris Lattner
e4634f54f1 A testcase sitting in my tree
llvm-svn: 23687
2005-10-10 21:21:36 +00:00
Chris Lattner
d5397ddd27 Testcase that is miscompiled by the ppc backend
llvm-svn: 23669
2005-10-09 05:31:47 +00:00
Chris Lattner
eab561a2e6 These don't need to be sdivs.
llvm-svn: 23661
2005-10-07 15:27:12 +00:00
Chris Lattner
720d11da49 New testcase, should turn into a ushr
llvm-svn: 23658
2005-10-07 06:10:03 +00:00
Chris Lattner
8741e905da double to float casts should nto result in an fmr
llvm-svn: 23653
2005-10-07 04:59:41 +00:00
Chris Lattner
d61ac59816 test broken in the IA64 backend.
llvm-svn: 23651
2005-10-07 04:49:00 +00:00
Chris Lattner
45773bd686 new testcase for PR635
llvm-svn: 23615
2005-10-03 23:42:54 +00:00
Andrew Lenharth
73913b88bb more specific tests of subtarget stuff
llvm-svn: 23570
2005-09-30 20:30:24 +00:00
Chris Lattner
cf324a5462 Add a test that you can forward ref a class.
llvm-svn: 23547
2005-09-30 04:52:43 +00:00
Chris Lattner
d565abab5f Check that we can refer to the same class we are defining.
llvm-svn: 23541
2005-09-30 04:10:17 +00:00
Chris Lattner
698283c3c3 new testcase for isascii
llvm-svn: 23520
2005-09-29 06:16:37 +00:00
Chris Lattner
a2cff39dcd add a new testcase
llvm-svn: 23518
2005-09-29 06:11:34 +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
14ade87e75 Testcase for PR632
llvm-svn: 23483
2005-09-27 22:27:19 +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
521f09d4c5 Add a simple testcase for lowerinvoke
llvm-svn: 23471
2005-09-27 18:34:31 +00:00
Chris Lattner
94798a7441 add a new testcase for constant foldable calls
llvm-svn: 23464
2005-09-27 05:02:03 +00:00
Chris Lattner
f7576c59ae Add a more difficult testcase which uses a call to a helper function to do
the initialization

llvm-svn: 23461
2005-09-27 04:44:04 +00:00
Chris Lattner
78e3912833 Testcase that uses an alloca
llvm-svn: 23451
2005-09-26 17:06:32 +00:00
Chris Lattner
0b9e00f69e add another case, this one that uses getelementptr instructions
llvm-svn: 23448
2005-09-26 06:51:50 +00:00
Chris Lattner
6bb22ee24c add a test for load
llvm-svn: 23440
2005-09-26 05:14:48 +00:00
Chris Lattner
8084f450d9 add another testcase with simple control flow
llvm-svn: 23438
2005-09-26 04:57:10 +00:00
Chris Lattner
0952f82b26 make this harder: put some code into it
llvm-svn: 23436
2005-09-26 04:43:01 +00:00
Chris Lattner
93677ef227 new testcase for static ctor list optimizations
llvm-svn: 23432
2005-09-26 01:42:03 +00:00