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
Andrew Lenharth
0ecfe05b76
see if the legalize code propery compensates for the additional zeros introduced
...
llvm-svn: 21684
2005-05-04 15:51:07 +00:00
Andrew Lenharth
315a093ece
added a use of ctpop to debug stuff with
...
llvm-svn: 21681
2005-05-04 15:20:16 +00:00
Chris Lattner
26293c64e5
add sin/cos tests
...
llvm-svn: 21635
2005-04-30 04:41:27 +00:00
Chris Lattner
1fd5429d1d
Add a test for llvm.sqrt
...
llvm-svn: 21628
2005-04-30 04:07:15 +00:00
Jeff Cohen
8e5170aec2
Eliminate tabs and trailing spaces
...
llvm-svn: 21479
2005-04-23 21:26:11 +00:00
Chris Lattner
4a98699e3d
Check for eqv matching
...
llvm-svn: 21414
2005-04-21 21:10:07 +00:00
Chris Lattner
22671eb7d1
this passes on darwin
...
llvm-svn: 21410
2005-04-21 20:48:08 +00:00
Nate Begeman
e82d5edfee
Update dejagnu tests to use the new pattern isel flag
...
llvm-svn: 21311
2005-04-16 04:25:48 +00:00
Andrew Lenharth
41c4b9c268
added a random and mask test
...
llvm-svn: 21301
2005-04-14 16:17:49 +00:00
Nate Begeman
33b835c553
Add CodeGen tests for the recent SelectionDAG transforms
...
llvm-svn: 21292
2005-04-13 21:45:13 +00:00
Andrew Lenharth
69541f896f
regression case for faster call sequence
...
llvm-svn: 21284
2005-04-13 16:16:01 +00:00
Andrew Lenharth
18f93d4455
check that casts still use zap
...
llvm-svn: 21283
2005-04-13 13:00:16 +00:00
Andrew Lenharth
9be54f8a6a
added s4addl matching test
...
llvm-svn: 21277
2005-04-13 04:41:06 +00:00
Chris Lattner
78266fb5ee
fix this testcase so the regex doesn't match the function name
...
llvm-svn: 21210
2005-04-10 20:45:35 +00:00
Chris Lattner
ed826ae12c
new testcase that used to crash the ppc fe. It could effect any simpleisel
...
that is not careful, so I'm checking it into the generic tests.
llvm-svn: 21190
2005-04-09 22:03:10 +00:00
Nate Begeman
d2c77c276e
Add a testcase to make sure that we don't emit two fneg instructions back
...
to back for certain fsel instructions.
llvm-svn: 21176
2005-04-09 09:30:09 +00:00
Nate Begeman
eae59b7df3
Add cases to cover the rest of the patterns we should be matching
...
llvm-svn: 21175
2005-04-09 08:29:59 +00:00
Chris Lattner
8a5098c5bf
New testcase that the sparc backend crashes on
...
llvm-svn: 21173
2005-04-09 06:26:27 +00:00
Chris Lattner
08e03f0b05
make this test more interesting
...
llvm-svn: 21170
2005-04-09 04:55:14 +00:00
Chris Lattner
c79ab1eac9
add a test for fnabs
...
llvm-svn: 21169
2005-04-09 04:03:16 +00:00
Chris Lattner
60fd2fb6d8
add a partial test for the fma operations that ppc supports. I'm sure I'm
...
missing some and not all of these match yet, but I'm sure that Nate will
clean up my mess :)
llvm-svn: 21168
2005-04-09 04:01:32 +00:00
Andrew Lenharth
a77ebf3d85
oops
...
llvm-svn: 21155
2005-04-08 16:55:15 +00:00
Andrew Lenharth
3ae7f6c9ef
added some tests to check stupid pattern matching mistakes
...
llvm-svn: 21154
2005-04-08 16:46:44 +00:00
Andrew Lenharth
41c31864ee
match case change in codegen
...
llvm-svn: 21141
2005-04-07 17:47:00 +00:00
Andrew Lenharth
e7efd9b90d
simplified
...
llvm-svn: 21119
2005-04-06 20:59:03 +00:00
Andrew Lenharth
a533de94b9
added first alpha codegen regression test
...
llvm-svn: 21117
2005-04-06 20:39:17 +00:00
Chris Lattner
0fa73a71ba
this has now been fixed
...
llvm-svn: 21026
2005-04-02 16:17:57 +00:00
Chris Lattner
c39609dc9f
don't forget to use the right code generator :)
...
llvm-svn: 21017
2005-04-02 05:40:03 +00:00
Chris Lattner
cf107cbc20
new testcase
...
llvm-svn: 21016
2005-04-02 05:35:00 +00:00
Chris Lattner
af30f4c392
new generic testcsae
...
llvm-svn: 20996
2005-04-02 02:41:55 +00:00
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