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

193 Commits

Author SHA1 Message Date
Chris Lattner
0a985df8a6 new testcase
llvm-svn: 20978
2005-04-01 07:19:06 +00:00
Chris Lattner
aa106acb77 make sure this test tests the intended target.
llvm-svn: 20777
2005-03-23 01:32:03 +00:00
Chris Lattner
3883289586 new testcase that crashes the CBE.
llvm-svn: 20518
2005-03-08 16:19:02 +00:00
Chris Lattner
9497a9daca execution tests shouldn't go here. This was killing the PPC nightly tester.
llvm-svn: 20186
2005-02-14 21:54:32 +00:00
Chris Lattner
2dc8d8c026 A testcase that LLC produces illegal asm on for Prolangs-C/cdecl now.
llvm-svn: 20182
2005-02-14 21:31:41 +00:00
Chris Lattner
907f3d8b67 new testcase
llvm-svn: 20176
2005-02-14 16:45:38 +00:00
Chris Lattner
7e3c525545 xfail this.
llvm-svn: 19846
2005-01-26 07:09:44 +00:00
Chris Lattner
bde28b8ebe New testcase for rotate instructions. Each function should codegen to a
rotate.

llvm-svn: 19691
2005-01-19 08:04:08 +00:00
Chris Lattner
33f679dba9 Add a test for 16-bit sh*d.
llvm-svn: 19688
2005-01-19 07:37:01 +00:00
Chris Lattner
ceca0b7b62 Ensure that each these functions generates a sh[rl]d instruction.
llvm-svn: 19682
2005-01-19 06:30:36 +00:00
Chris Lattner
84cb260633 This is a carefully contrived testcase where the X86 ISel is emitting all loads
before other ops, causing it to spill like mad.  This occurs in
164.gzip:flush_block.

llvm-svn: 19648
2005-01-17 23:16:01 +00:00
Chris Lattner
a5f6a52471 New testcase for a problem that occurred in 132.ijpeg
llvm-svn: 19630
2005-01-17 06:25:59 +00:00
Chris Lattner
4ee1d50b9c New testcase, problem found by Rob.
llvm-svn: 19556
2005-01-14 20:21:51 +00:00
Chris Lattner
e846b58c2a Testcase that crashes the PPC backend. Thanks to Rob for finding this.
llvm-svn: 19554
2005-01-14 19:30:42 +00:00
Chris Lattner
0c47dfe0ce The pattern isel is aggressively codegen'ing all of the loads in these
functions together at the start of the basic block, causing massive spillage.
The old isel codegened the loads wherever they happened to land, so it
generated good code for the first case, but bad code for the second.

We really want the pattern isel to generate (the same) good code for both.

llvm-svn: 19448
2005-01-11 03:05:03 +00:00
Chris Lattner
41cda01765 New testcase.
llvm-svn: 19363
2005-01-08 05:44:07 +00:00
Chris Lattner
924f3326e7 Cleanup a bunch of tests. In particular do not allow target directives in
the .ll file or it forces the V9 backend.  This is the CodeGen/Generic dir,
so there is no use in doing that.

llvm-svn: 19355
2005-01-07 22:05:31 +00:00
Chris Lattner
6cd8ee341f Make this test a bit more interesting by making there actually be a use of the
PHI node.

llvm-svn: 19351
2005-01-07 21:37:13 +00:00
Chris Lattner
8b318b3d7b modernize and clean up this test.
llvm-svn: 19347
2005-01-07 21:15:58 +00:00
Chris Lattner
a6e901bfbd Add a testcase I forgot to commit earlier.
llvm-svn: 19338
2005-01-07 07:56:08 +00:00
Chris Lattner
e81118c243 New testcase
llvm-svn: 19312
2005-01-06 21:18:53 +00:00
Chris Lattner
dcf0d97a87 xfail these tests, whcih require more info in the code generator to implement
correctly.

llvm-svn: 19257
2005-01-02 19:01:33 +00:00
Chris Lattner
2cfe515d2b Add several testcases for new optimizations in the code generator.
llvm-svn: 19244
2005-01-02 02:30:04 +00:00
Chris Lattner
5855827688 new testcase for PR490
llvm-svn: 19175
2004-12-29 03:57:25 +00:00
Chris Lattner
7f86ac4f54 New testcase that crashes the V9 backend.
llvm-svn: 18905
2004-12-13 19:10:32 +00:00
Chris Lattner
b5f4ad43d5 New testcase that the PPC backend miscompiles. It is emitting
.comm _X,0

For X, which makes the linker thing that X is never defined.

llvm-svn: 18834
2004-12-12 20:34:06 +00:00
Chris Lattner
7933b74bfe new testcase for PR472
llvm-svn: 18458
2004-12-03 17:18:42 +00:00
Chris Lattner
bfb6258ba6 This program doesn't break anything anymore.
llvm-svn: 18411
2004-12-02 02:26:18 +00:00
Chris Lattner
8e80452e56 This passes on darwin now
llvm-svn: 18380
2004-11-30 07:38:41 +00:00
Chris Lattner
f920b76d67 New testcase that crashes the PPC BE
llvm-svn: 18375
2004-11-30 06:39:45 +00:00
Chris Lattner
882a41720f New testcase
llvm-svn: 18373
2004-11-30 06:35:52 +00:00
Chris Lattner
3e48dcf7b0 New testcase that crashes the PPC backend
llvm-svn: 18370
2004-11-30 06:28:53 +00:00
Tanya Lattner
8300ab6f15 Adding missing dg file.
llvm-svn: 18062
2004-11-20 23:51:38 +00:00
Tanya Lattner
bea68bc91a Adding srcdir arg
llvm-svn: 18020
2004-11-19 22:45:25 +00:00
Tanya Lattner
97976107e3 Adding subdirectory dg.exp files in order to be able to use dejagnu to only run specific tests (located in some subdirectory of Regression)
llvm-svn: 17712
2004-11-13 23:00:45 +00:00
Chris Lattner
0c7f345cc1 New testcase
llvm-svn: 17709
2004-11-13 22:21:15 +00:00
Tanya Lattner
1854e98b09 Changed to XFAIL
llvm-svn: 17554
2004-11-07 04:37:08 +00:00
Chris Lattner
dcf409f32f Update this to expect AT&T syntax
llvm-svn: 17552
2004-11-07 01:46:16 +00:00
Chris Lattner
e68b518909 Fix a test.
These other tests should be in test/Programs/SingleSource/UnitTests if anyone
cares enough to save them

llvm-svn: 17540
2004-11-07 00:33:14 +00:00
Chris Lattner
b297b07761 These files are all moved to test/Regression/CodeGen/Generic
llvm-svn: 17538
2004-11-07 00:24:14 +00:00
Tanya Lattner
47772bf0e5 Adding RUN lines.
llvm-svn: 17527
2004-11-06 21:40:51 +00:00
Chris Lattner
c52648e701 Add missing run line
llvm-svn: 17522
2004-11-06 21:11:04 +00:00
Tanya Lattner
06a7c559be Adding XFAIL lines for dejagnu support.
llvm-svn: 17514
2004-11-06 20:38:27 +00:00
Nate Begeman
802b39d8cc Initial checkin of regression test for generating the PowerPC rlwimi
instruction, which performs bitfield inserts.  All tests should compile
to one rlwimi instruction.

llvm-svn: 17206
2004-10-24 10:30:22 +00:00
Chris Lattner
0a1bfd5be0 New testcase. The setcc is only used by a select, but not as a condition:
it cannot be folded in.

llvm-svn: 16839
2004-10-08 16:33:40 +00:00
Brian Gaeke
8b65b55ec1 New version of Bill Wendling's PR33 patch.
llvm-svn: 16050
2004-08-25 19:00:42 +00:00
Brian Gaeke
e45386ab6e note pr#
llvm-svn: 16015
2004-08-24 07:28:45 +00:00
Brian Gaeke
069b8ec2f4 A PR60 test case
llvm-svn: 16005
2004-08-23 20:49:33 +00:00
Misha Brukman
d34a40864a Simple hand-coded tests to aid in early development of backends, along with a
Makefile to run ad-hoc tests easily.

llvm-svn: 15664
2004-08-11 14:16:34 +00:00
Chris Lattner
7a0fbc70fb This testcase causes the CBE to generate code that is not legal C.
llvm-svn: 15601
2004-08-09 23:56:17 +00:00
Reid Spencer
4cdc23b925 Added another test case for double FP constants as well.
llvm-svn: 15233
2004-07-26 15:04:13 +00:00
Chris Lattner
343eff5fe2 Update test
llvm-svn: 15228
2004-07-26 05:04:25 +00:00
Chris Lattner
d88c0923db Update gc intrinsics to take pointer to object as well as pointer to field.
Patch contributed by Tobias Nurmiranta

llvm-svn: 15094
2004-07-22 05:48:38 +00:00
Chris Lattner
09b3764b2f Make this testcase more interesting
llvm-svn: 14561
2004-07-02 05:43:51 +00:00
Chris Lattner
7b31e04a32 New testcase for constant expression lowering pass, contributed by Vladimir Prus!
llvm-svn: 14398
2004-06-25 07:47:13 +00:00
Chris Lattner
e1ab44ea7a Isnan became unordered
llvm-svn: 14322
2004-06-22 16:13:57 +00:00
Chris Lattner
5c115a9836 This testcase is a bit silly now, but oh well :)
llvm-svn: 14188
2004-06-15 21:46:16 +00:00
Chris Lattner
e010d3c940 Test that the X86 backend is only emitting one fucom instruction
for each 'COM =' line.

llvm-svn: 14147
2004-06-11 05:30:34 +00:00
Chris Lattner
6fc9e8dd94 Testcase for PR369
llvm-svn: 14136
2004-06-11 02:59:47 +00:00
Chris Lattner
c90dfb64dd Check to make sure that isnan doesn't require calling a function
llvm-svn: 14135
2004-06-11 02:54:54 +00:00
Brian Gaeke
270a6ba455 Test case for PR368
llvm-svn: 14129
2004-06-11 02:11:43 +00:00
Reid Spencer
8e4807ce62 Make the test pass by using the correct RUN: syntax.
llvm-svn: 13848
2004-05-27 20:49:16 +00:00
Reid Spencer
46ff9b2d51 Added a "RUN:" line so this file can be executed by TestRunner.sh
llvm-svn: 13829
2004-05-27 08:28:42 +00:00
Chris Lattner
f2b4daf3eb gc_init now gets an argument
llvm-svn: 13816
2004-05-27 05:51:00 +00:00
Chris Lattner
18e086319e Make the test use the %A type
llvm-svn: 13789
2004-05-26 17:14:49 +00:00
Chris Lattner
a617e50e59 Add a simple testcase for garbage collection support
llvm-svn: 13697
2004-05-23 21:24:50 +00:00
Chris Lattner
35e874420b Testcase for PR337, which was reduced by Reid Spencer.
llvm-svn: 13443
2004-05-10 05:11:24 +00:00
John Criswell
43d7449301 Test for memory mapped I/O intrinsics.
llvm-svn: 12943
2004-04-14 13:52:56 +00:00
Chris Lattner
197f2fcda2 new testcase that crashes the fp stackifier
llvm-svn: 12932
2004-04-13 21:44:54 +00:00
Chris Lattner
b8987d93b7 Make the testcase more challenging
llvm-svn: 12892
2004-04-13 17:18:07 +00:00
Alkis Evlogimenos
338004b75f Update testcase to illustrate the coalescing problem. The previous one did not work because of a fix in the x86 instruction selector.
llvm-svn: 12870
2004-04-12 19:04:22 +00:00
John Criswell
c477529404 Added testcase for the llvm.readport and llvm.writeport intrinsics.
llvm-svn: 12868
2004-04-12 16:42:43 +00:00
Alkis Evlogimenos
45bb1bbd1b Add same value coalescing testcase
llvm-svn: 12865
2004-04-12 15:40:25 +00:00
Chris Lattner
09658d95d2 New testcase
llvm-svn: 12845
2004-04-11 23:18:30 +00:00
Chris Lattner
319b7cf974 New testcase
llvm-svn: 12843
2004-04-11 22:05:16 +00:00
Chris Lattner
05de580cfb New testcase
llvm-svn: 12837
2004-04-11 20:24:01 +00:00
Chris Lattner
0eaacac41e New file that can be useful for hand inspection of assembly required for certain
kinds of instructions.

llvm-svn: 12746
2004-04-07 05:06:39 +00:00
Chris Lattner
c585ee2bdd New testcase
llvm-svn: 12738
2004-04-07 04:08:21 +00:00
Chris Lattner
ae7950aef4 Tests for fp cmov's that I forgot to check in earlier
llvm-svn: 12585
2004-04-01 03:47:56 +00:00
Chris Lattner
beaf1cdb85 Test folding comparisons into select instructions
llvm-svn: 12559
2004-03-30 22:37:04 +00:00
Chris Lattner
399515cbfb New testcase. This now codegens to:
max:
        mov %EAX, DWORD PTR [%ESP + 4]
        mov %ECX, DWORD PTR [%ESP + 8]
        cmp %EAX, %ECX
        cmovle %EAX, %ECX
        ret

Someone should really implement passing arguments through registers for
known-internal functions.  :)

llvm-svn: 12558
2004-03-30 22:36:52 +00:00
Chris Lattner
83b4416593 New testcase for select instructions
llvm-svn: 12552
2004-03-30 21:21:14 +00:00
John Criswell
e58a4cc26e Fixed test case to actually check for the static declaration.
Oops.

llvm-svn: 11886
2004-02-26 22:56:13 +00:00
John Criswell
d0574b7bd2 Regression tests for PR258 and PR259.
2004-02-26-FPNotPrintableConstants.llx ensures that constants used in an
LLVM program are declared static if they are assigned to global variables.
2004-02-26-LinkOnceFunctions.llx ensures that linkonce functions get the
weak attribute.

llvm-svn: 11885
2004-02-26 22:55:11 +00:00
Chris Lattner
2ec31046bc Add testcase for the casts that are missing in PR249
llvm-svn: 11727
2004-02-23 03:21:09 +00:00
Chris Lattner
6b3162eb16 Moving CBE tests to test/Regression/CodeGen/CBackend
llvm-svn: 11486
2004-02-15 22:56:30 +00:00
Chris Lattner
7a84c6d9f9 Test for actual support, not just for lack of crashage
llvm-svn: 11460
2004-02-15 01:21:39 +00:00
Chris Lattner
402f5ee496 New testcase for PR237: [x86] wierd stack/frame pointer manipulation
llvm-svn: 11456
2004-02-15 00:21:04 +00:00
Chris Lattner
7ab8db4907 Test that the code generator supports these intrinsics
llvm-svn: 11432
2004-02-14 02:51:40 +00:00
Chris Lattner
4ce80b3f86 Test that we get rep movs when calling memcpy
llvm-svn: 11352
2004-02-12 17:53:43 +00:00
Chris Lattner
c3b5bba611 Move this testcase out of /home/vadve/lattner/cvs/llvm/test/Programs/LLVMSource,
as it fails.

llvm-svn: 11250
2004-02-09 22:52:25 +00:00
Chris Lattner
14f60ad5e5 New testcase, code generators should support invoke/unwind
llvm-svn: 11192
2004-02-08 19:40:58 +00:00
Chris Lattner
de27290f6b Genericize tests
llvm-svn: 10091
2003-11-19 19:44:28 +00:00