1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-30 15:32:52 +01:00
Commit Graph

2382 Commits

Author SHA1 Message Date
Evan Cheng
a54cc613d4 Add a vector shuffle test case
llvm-svn: 27027
2006-03-24 01:22:25 +00:00
Reid Spencer
8f8c063f1c Tired of wading through cvs's list ? files that are generated when building
with srcdir = objdir to see what's okay and what's cruft. So, in goes a
bunch of .cvsignore files to shut cvs up about known output from running
"make check".

llvm-svn: 27009
2006-03-23 23:41:57 +00:00
Chris Lattner
c447958a37 add some tests for typecasts and extract_element
llvm-svn: 26998
2006-03-23 21:15:57 +00:00
Evan Cheng
4dfb6044e2 Replace vector splat test case.
llvm-svn: 26963
2006-03-22 21:39:25 +00:00
Evan Cheng
266e00ff52 Add a v2f64 splat (using movlhps) test case.
llvm-svn: 26962
2006-03-22 20:29:11 +00:00
Chris Lattner
5ffc36ec45 test that vspltw is generated for test cases
llvm-svn: 26955
2006-03-22 19:12:46 +00:00
Chris Lattner
df3a0c94e2 Add an integer splat test
llvm-svn: 26923
2006-03-21 18:27:27 +00:00
Chris Lattner
b59ca7a728 new testcase
llvm-svn: 26906
2006-03-20 22:37:05 +00:00
Evan Cheng
26861ff2af Option -enable-x86-lsr has been removed
llvm-svn: 26903
2006-03-20 18:26:11 +00:00
Chris Lattner
64752a69e2 new testcase, contributed by Eric Kidd.
llvm-svn: 26871
2006-03-19 19:36:32 +00:00
Chris Lattner
3cc48e95a7 add a new testcase. This insertelement should be a noop on SSE.
llvm-svn: 26859
2006-03-19 05:46:51 +00:00
Chris Lattner
3490c55e51 add another testcase, explicitly check stuff works with G5 and G3 codegen on
PPC.

llvm-svn: 26854
2006-03-19 04:45:11 +00:00
Chris Lattner
595534e8e9 add two new insert_element tests
llvm-svn: 26850
2006-03-19 01:27:04 +00:00
Chris Lattner
234217d62f Add three new testcases
llvm-svn: 26844
2006-03-19 00:20:03 +00:00
Chris Lattner
0f6374dd9d update testcases for x86 fastcc changes.
llvm-svn: 26842
2006-03-18 23:48:54 +00:00
Nate Begeman
079b67fb45 Add a missing testcase
llvm-svn: 26834
2006-03-17 22:39:45 +00:00
Chris Lattner
40613e6163 new testcase
llvm-svn: 26832
2006-03-17 20:04:40 +00:00
Evan Cheng
0517ea7b2b Add a lsr common loop invariant hoisting test case
llvm-svn: 26827
2006-03-17 19:45:54 +00:00
Chris Lattner
fad5f1053f new testcase that broke the new f.e.
llvm-svn: 26826
2006-03-17 18:01:17 +00:00
Chris Lattner
980763ddd2 New testcase, the new CFE compiles this into insertelement instructions, the
old one crashes.

llvm-svn: 26794
2006-03-16 18:47:51 +00:00
Reid Spencer
2c7c9cf597 Add a RUN: line so this test doesn't fail.
llvm-svn: 26790
2006-03-16 03:05:57 +00:00
Andrew Lenharth
a6f13d1228 better check
llvm-svn: 26780
2006-03-15 19:02:54 +00:00
Evan Cheng
3f177bef5e Also requires -mattr=-sse3
llvm-svn: 26778
2006-03-15 18:05:13 +00:00
Chris Lattner
9f8f690fbb new testcase from a FIXME in the code
llvm-svn: 26756
2006-03-14 08:13:09 +00:00
Chris Lattner
05065fef98 Test that we can reassociate (x<<1)+(y<<1) -> (X+Y)<<1.
llvm-svn: 26752
2006-03-14 06:54:32 +00:00
Jim Laskey
9e6e3262cb Remove the use of llvm.dbg.declare.
llvm-svn: 26744
2006-03-14 01:53:11 +00:00
Chris Lattner
7821da357e new testcase
llvm-svn: 26726
2006-03-13 06:50:47 +00:00
Chris Lattner
12786a1616 Simplify this testcase
llvm-svn: 26699
2006-03-10 22:32:18 +00:00
Chris Lattner
9e05c75c4a weak globals on darwin require an extra load, breaking this test
llvm-svn: 26695
2006-03-10 17:55:10 +00:00
Evan Cheng
bd2494add8 Add a test case for (store (op (load ..) ..) ..) folding.
llvm-svn: 26656
2006-03-09 19:04:30 +00:00
Chris Lattner
ebe6de6000 Update these tests (which use autoupgrade) to run constprop and check
that the file parses.

llvm-svn: 26655
2006-03-09 18:43:07 +00:00
Chris Lattner
54e424e259 new testcase that should have been added long ago.
llvm-svn: 26601
2006-03-07 22:33:00 +00:00
Chris Lattner
9e766930c7 new testcase
llvm-svn: 26596
2006-03-07 17:56:31 +00:00
Chris Lattner
d12bd272d3 new regression test
llvm-svn: 26579
2006-03-06 23:52:37 +00:00
Chris Lattner
99767c08ca new testcase I forgot to check in earlier
llvm-svn: 26565
2006-03-05 23:53:04 +00:00
Chris Lattner
1acc82fcb2 new testcase for vector narrowing.
llvm-svn: 26537
2006-03-05 00:21:28 +00:00
Chris Lattner
69ca9936f4 new testcase
llvm-svn: 26534
2006-03-04 23:31:49 +00:00
Chris Lattner
1c66dfe04b new testcase
llvm-svn: 26525
2006-03-04 09:35:02 +00:00
Chris Lattner
bcc0646e6a new testcase
llvm-svn: 26518
2006-03-04 06:02:36 +00:00
Chris Lattner
c4f37e60bb new testcase
llvm-svn: 26514
2006-03-04 02:05:07 +00:00
Chris Lattner
e10b6e1ec0 New testcase, make sure nate doesn't vanish
llvm-svn: 26511
2006-03-04 00:47:12 +00:00
Evan Cheng
dd0a62e4c7 Add another test case for instruction scheduling.
llvm-svn: 26507
2006-03-03 18:58:09 +00:00
Chris Lattner
7e618993f9 Remove these testcases. These intrinsics are going away
llvm-svn: 26478
2006-03-03 00:16:23 +00:00
Chris Lattner
4ba92689d0 new testcases
llvm-svn: 26473
2006-03-02 23:56:23 +00:00
Evan Cheng
af289a7ee4 Add a regression test for bug 478.
llvm-svn: 26471
2006-03-02 21:48:34 +00:00
Chris Lattner
fbb4cb0a6d add a couple more cases
llvm-svn: 26468
2006-03-02 06:50:04 +00:00
Chris Lattner
807844e2ef testcase that crashed the new CFE
llvm-svn: 26465
2006-03-01 22:45:12 +00:00
Chris Lattner
eaa4634493 new testcase
llvm-svn: 26458
2006-03-01 21:46:53 +00:00
Chris Lattner
66c4fffa4c load (x|y) -> load (x+y) iff x and y have no common bits.
llvm-svn: 26449
2006-03-01 07:13:56 +00:00
Chris Lattner
f551414303 new testcase. These functions shouldn't touch the stack if stfiwx use
is enabled.

llvm-svn: 26446
2006-03-01 05:49:05 +00:00
Chris Lattner
b0531950b1 new testcase. There should be no accesses to the stack for these functions.
llvm-svn: 26444
2006-03-01 04:56:33 +00:00
Chris Lattner
d4f7c91dd7 new testcase
llvm-svn: 26439
2006-03-01 03:43:38 +00:00
Evan Cheng
b02cde9c1f Add a test case for left shift by 1. We should not be using lea for this.
llvm-svn: 26431
2006-02-28 23:57:45 +00:00
Chris Lattner
591bae524a new testcase
llvm-svn: 26426
2006-02-28 19:46:56 +00:00
Chris Lattner
bae1b3cab9 evan's recent x86 isel improvements have fixed this, though not in the way
originally envisioned :)

llvm-svn: 26422
2006-02-28 16:39:56 +00:00
Chris Lattner
ea47cfde74 new testcases
llvm-svn: 26420
2006-02-28 06:54:19 +00:00
Chris Lattner
ca2cb47ad3 new testcases for PR712
llvm-svn: 26414
2006-02-28 05:48:56 +00:00
Chris Lattner
8f416718b6 new testcase
llvm-svn: 26412
2006-02-28 05:30:48 +00:00
Chris Lattner
91dedad737 new testcases
llvm-svn: 26395
2006-02-27 02:36:19 +00:00
Chris Lattner
cbfdf37986 New testcases
llvm-svn: 26393
2006-02-27 01:43:02 +00:00
Chris Lattner
3d5e90af95 Reenable this
llvm-svn: 26391
2006-02-27 01:00:12 +00:00
Chris Lattner
151324f158 new testcase
llvm-svn: 26387
2006-02-27 00:20:23 +00:00
Chris Lattner
3ceedb4228 new testcase
llvm-svn: 26384
2006-02-26 19:55:30 +00:00
Evan Cheng
0b1f2f9d11 New test case: use lea for imul by some constants.
llvm-svn: 26378
2006-02-25 10:16:10 +00:00
Evan Cheng
cb55494fa8 lea.ll is XFAIL until we implement convertToThreeAddress.
llvm-svn: 26377
2006-02-25 10:15:22 +00:00
Chris Lattner
b51e6aef5d this fails, mark it as such
llvm-svn: 26370
2006-02-25 08:18:43 +00:00
Evan Cheng
41154489a2 Add a test case for 'lea'.
llvm-svn: 26322
2006-02-23 00:12:12 +00:00
Chris Lattner
74ba4994e8 new testcase distilled from SPASS
llvm-svn: 26319
2006-02-22 23:54:15 +00:00
Chris Lattner
7e722ae07c new testcase that crashes simplifycfg
llvm-svn: 26274
2006-02-18 00:32:44 +00:00
Nate Begeman
fff4228d3e A few final (for now) tests
llvm-svn: 26267
2006-02-17 21:38:45 +00:00
Nate Begeman
9f848d4c36 Yet another test
llvm-svn: 26266
2006-02-17 21:32:46 +00:00
Nate Begeman
79c1e470e6 New tests!
llvm-svn: 26265
2006-02-17 21:22:08 +00:00
Nate Begeman
fe88578402 Fix a comment sabre noticed :)
llvm-svn: 26257
2006-02-17 06:24:31 +00:00
Nate Begeman
c030319b43 A couple new regression tests to make sure we always pattern match the new
opcodes on ppc.

llvm-svn: 26256
2006-02-17 06:16:56 +00:00
Jim Laskey
517f94f3b0 Code sufficiently protected against this test.
llvm-svn: 26213
2006-02-15 17:20:59 +00:00
Chris Lattner
84cf35da87 new testcase that broke unswitch due to loopsimplify not doing the right thing.
llvm-svn: 26190
2006-02-14 23:07:29 +00:00
Chris Lattner
7ea9303a2f new testcase
llvm-svn: 26154
2006-02-13 23:07:02 +00:00
Chris Lattner
0cabe967ce testcase reduced from Ptrdist/bc that is miscompiled by recent instcombine changes.
llvm-svn: 26151
2006-02-13 22:31:50 +00:00
Andrew Lenharth
e5ed262832 test for improved zap discovery
llvm-svn: 26147
2006-02-13 18:52:01 +00:00
Chris Lattner
6be56c0224 this passes now, due to Nate's recent efforts
llvm-svn: 26140
2006-02-13 07:26:36 +00:00
Chris Lattner
08a6bf6cd6 Reduce this testcase a bit more, with the help of llvm-extract and some hand tweaks
llvm-svn: 26139
2006-02-13 07:02:50 +00:00
Evan Cheng
d743021686 Added a test case for a libcall insertion bug.
llvm-svn: 26137
2006-02-12 10:24:00 +00:00
Chris Lattner
5e867a74d3 tweaks
llvm-svn: 26133
2006-02-12 08:01:35 +00:00
Chris Lattner
0583a337fb new testcase
llvm-svn: 26130
2006-02-12 02:06:31 +00:00
Chris Lattner
76e0e3fe40 move a failing testcase from bit-tracking.ll to narrow.ll, and move the
xfail marker with it

llvm-svn: 26129
2006-02-12 02:02:43 +00:00
Chris Lattner
d8c54dc866 Make these tests fail if opt crashes.
llvm-svn: 26127
2006-02-12 01:32:58 +00:00
Chris Lattner
e6b05ffc0f Update comments to be actually accurate
llvm-svn: 26124
2006-02-11 09:37:07 +00:00
Chris Lattner
5267440902 This is implemented by the simplify-libcalls pass, not instcombine
llvm-svn: 26123
2006-02-11 09:33:28 +00:00
Chris Lattner
1ad0bfc2f0 new testcase
llvm-svn: 26086
2006-02-09 07:38:30 +00:00
Chris Lattner
d033cbb057 this apparently passes on linux
llvm-svn: 26082
2006-02-09 07:12:13 +00:00
Jim Laskey
8b27e1cdb8 Disable this test for the time being as debug is brought up to speed.
llvm-svn: 26063
2006-02-08 18:17:06 +00:00
Chris Lattner
0f370256ad new testcase for more interesting select sccp cases
llvm-svn: 26048
2006-02-08 02:37:40 +00:00
Chris Lattner
4a327829c9 new testcase that caused instcombine to crash on 176.gcc last night.
llvm-svn: 26039
2006-02-07 19:07:25 +00:00
Chris Lattner
bbd8dc6edd new testcases
llvm-svn: 26002
2006-02-05 07:52:47 +00:00
Chris Lattner
e4556b0928 These were moved to ../SPARC
llvm-svn: 25987
2006-02-05 05:53:48 +00:00
Chris Lattner
7048217c85 move V8 testcases here
llvm-svn: 25986
2006-02-05 05:52:55 +00:00
Evan Cheng
79edabf042 Added a (store (op (load ...) ...) ...) folding test case.
llvm-svn: 25933
2006-02-03 06:46:41 +00:00
Chris Lattner
5523fc1a1f new testcase
llvm-svn: 25897
2006-02-02 06:35:38 +00:00
Andrew Lenharth
05f4a19bbe test cmov immediate form
llvm-svn: 25881
2006-02-01 19:36:52 +00:00
Chris Lattner
da8766b370 new testcase for the 'ret double folding with load' opzn
llvm-svn: 25868
2006-02-01 01:45:02 +00:00
Chris Lattner
e6bed389d4 new testcase
llvm-svn: 25835
2006-01-31 06:01:40 +00:00
Evan Cheng
7bcbf75f7f Don't generate (or setp, setae) for SETUGE. Simply flip the operands around and
generate SETULT instead.

llvm-svn: 25823
2006-01-30 23:39:40 +00:00
Chris Lattner
21fc565586 new testcase for the 'C++' failures last night.
llvm-svn: 25820
2006-01-30 22:43:10 +00:00
Chris Lattner
0551b3fcba new testcase
llvm-svn: 25813
2006-01-30 06:11:36 +00:00
Evan Cheng
1db9df37e9 Use Intel assembly syntax to look for ST
llvm-svn: 25713
2006-01-27 22:51:51 +00:00
Evan Cheng
e66a46d289 X86 dag isel is now (soon) the default.
llvm-svn: 25699
2006-01-27 21:15:22 +00:00
Evan Cheng
5d4ce9a622 These are fp stack test cases.
llvm-svn: 25698
2006-01-27 21:14:23 +00:00
Evan Cheng
b22e64b314 XFAIL tailcall test cases until it's implemented.
llvm-svn: 25697
2006-01-27 21:13:27 +00:00
Reid Spencer
ff4f7a4dc9 A test case for ensuring that conversion of old-format intrinsics with
signed arguments get auto-upgraded correctly.

llvm-svn: 25681
2006-01-27 11:28:48 +00:00
Reid Spencer
da3cec9fa4 This now passes.
llvm-svn: 25680
2006-01-27 11:27:37 +00:00
Andrew Lenharth
a825297b64 added a couple test cases, including the new vaarg breakage
llvm-svn: 25648
2006-01-26 17:43:42 +00:00
Chris Lattner
bbcaedb5e9 testcase that crashes scalarrepl
llvm-svn: 25586
2006-01-24 19:34:57 +00:00
Chris Lattner
cdc68e7e76 This is still broken
llvm-svn: 25583
2006-01-24 06:13:48 +00:00
Chris Lattner
9376a88359 new c front-end testcase
llvm-svn: 25579
2006-01-24 05:01:39 +00:00
Chris Lattner
23dd664919 Testcase that failed due to a legalizer bug
llvm-svn: 25537
2006-01-23 07:30:14 +00:00
Chris Lattner
f453c70e96 this option is gone, the dag isel is the default now
llvm-svn: 25536
2006-01-23 07:21:12 +00:00
Chris Lattner
3b86cca38b make this test harder
llvm-svn: 25533
2006-01-23 07:07:51 +00:00
Chris Lattner
909fec1609 add new tests
llvm-svn: 25529
2006-01-23 06:24:17 +00:00
Chris Lattner
73f1bad36e Make sure this tests the right thing, xfail on solaris, which doesn't have floorf
llvm-svn: 25524
2006-01-23 05:56:34 +00:00
Chris Lattner
c9497f011d new testcase that crashes llc for ppc
llvm-svn: 25495
2006-01-21 04:25:07 +00:00
Reid Spencer
33216c9f52 Add a test case for PR697, ensuring the linker works with ConstantPacked.
llvm-svn: 25475
2006-01-20 01:31:58 +00:00
Evan Cheng
cfb48227b9 Added a load folding bug test case.
llvm-svn: 25472
2006-01-20 01:12:23 +00:00
Chris Lattner
ad5c08f99e Add a new testcase for an eliminable cast
llvm-svn: 25451
2006-01-19 07:39:20 +00:00
Reid Spencer
7af5947344 This test passes now.
llvm-svn: 25449
2006-01-19 07:15:47 +00:00
Chris Lattner
8d6787c392 make this work for Reid, who renamed his CVS module dir :)
llvm-svn: 25443
2006-01-19 06:49:46 +00:00
Chris Lattner
49bc00e644 new testcase the autoupgrader in the bc reader fails to handle
llvm-svn: 25442
2006-01-19 06:15:34 +00:00
Andrew Lenharth
00b74b6d92 a reduced test case, the GlobalAddress is never legalized
llvm-svn: 25427
2006-01-18 22:59:33 +00:00
Chris Lattner
83eb140387 new testcase
llvm-svn: 25420
2006-01-18 19:16:07 +00:00
Chris Lattner
d17db92e54 this testcase sent the dag combiner spinning into an infinite loop
llvm-svn: 25418
2006-01-18 19:13:11 +00:00
Chris Lattner
ea1122e334 Ensure that the CFE always emits intrinsics in their unsigned version, not with signed operands
llvm-svn: 25390
2006-01-17 06:24:01 +00:00
Andrew Lenharth
6c89d964ca this is fixed
llvm-svn: 25370
2006-01-16 21:22:42 +00:00
Chris Lattner
8650cec8bb Fix these testcases :(
Apparently Andrew hasn't implemented ReadCycleCounter in the new isel and
renamed ornot to eqv

llvm-svn: 25360
2006-01-16 16:34:39 +00:00
Chris Lattner
0e714279be This pass has been removed.
llvm-svn: 25350
2006-01-16 01:06:43 +00:00
Chris Lattner
64b54cc002 New testcase for a regression last night: the -inline pass wasn't updating
callgraph to include new edges do to inserted llvm.stacksave/llvm.stackrestore
calls.

llvm-svn: 25319
2006-01-14 20:07:07 +00:00
Nate Begeman
85b2dc0c4e bswap implementation
llvm-svn: 25312
2006-01-14 03:14:10 +00:00
Nate Begeman
4750001146 Add bswap intrinsics as documented in the Language Reference
llvm-svn: 25309
2006-01-14 01:25:24 +00:00
Jim Laskey
4521a10100 testcase for PR676: http://llvm.cs.uiuc.edu/PR676
llvm-svn: 25306
2006-01-14 00:29:48 +00:00
Chris Lattner
285ca9f1dd testcase for PR691
llvm-svn: 25298
2006-01-13 22:05:36 +00:00
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
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
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
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
Chris Lattner
fccd9d65c1 All of these should turn into sign extends (e.g. extsh/extsb on PPC)
llvm-svn: 23427
2005-09-24 23:42:18 +00:00
Chris Lattner
40908cf792 Enhance this to check for a crash, add a case that crashes simplifylibcalls,
and add a case that has uses.

llvm-svn: 23424
2005-09-24 22:16:04 +00:00
Chris Lattner
daed210edd new testcase that crashes the CFE
llvm-svn: 23423
2005-09-24 20:54:33 +00:00
Chris Lattner
e97c845fb8 new testcase for PR630
llvm-svn: 23422
2005-09-24 08:38:28 +00:00
Chris Lattner
be57630463 new testcase
llvm-svn: 23409
2005-09-23 18:43:57 +00:00
Chris Lattner
43fa639856 new testcase
llvm-svn: 23402
2005-09-23 00:53:06 +00:00
Chris Lattner
f1fadf4ab6 Testcase for PR629
llvm-svn: 23401
2005-09-21 06:53:56 +00:00
Chris Lattner
e944688f8b make this test harder: add a case where instructions are in the bb to be
threaded over

llvm-svn: 23396
2005-09-20 01:43:41 +00:00
Chris Lattner
5ab7f9420a new testcase
llvm-svn: 23394
2005-09-20 00:41:55 +00:00
Chris Lattner
2e29152408 new testcase.
llvm-svn: 23390
2005-09-19 23:48:04 +00:00
Chris Lattner
7e94dfdc90 new testcase
llvm-svn: 23380
2005-09-18 05:10:39 +00:00
Chris Lattner
dd10722054 new testcase
llvm-svn: 23378
2005-09-18 04:22:59 +00:00
Chris Lattner
c6c62e7864 new testcase
llvm-svn: 23375
2005-09-18 03:39:02 +00:00
Duraid Madina
5c8de93882 fails since linux-itanium headers are Different
llvm-svn: 23326
2005-09-13 01:03:53 +00:00
Chris Lattner
dbe60107c5 new testcase
llvm-svn: 23323
2005-09-12 23:22:17 +00:00
Chris Lattner
db236987c2 new testcase
llvm-svn: 23321
2005-09-12 22:19:46 +00:00
Chris Lattner
c183614166 new testcase
llvm-svn: 23319
2005-09-12 21:59:22 +00:00
Chris Lattner
fa762ece7e relax pattern match on name
llvm-svn: 23317
2005-09-12 17:09:40 +00:00
Chris Lattner
2a30ed887c new testcase
llvm-svn: 23316
2005-09-12 17:08:15 +00:00
Chris Lattner
963c549bc9 new testcase
llvm-svn: 23312
2005-09-12 05:50:15 +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
97f62d0f5e new testcase
llvm-svn: 23305
2005-09-10 01:14:37 +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
Chris Lattner
f315628427 x and X should be structurally identical
llvm-svn: 23273
2005-09-08 18:47:43 +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
8f067e5813 new testcase: tblgen should grok this.
llvm-svn: 23247
2005-09-06 21:22: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
019ab1a9ab new testcase for recent bugfix
llvm-svn: 23212
2005-09-02 06:12:12 +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
cd1322eded new testcase that crashes -reassociate
llvm-svn: 23018
2005-08-24 17:54:56 +00:00
Chris Lattner
3ad034058e new testcase
llvm-svn: 23016
2005-08-24 17:20:30 +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
Chris Lattner
605afae736 new testcase distilled from mesa
llvm-svn: 22842
2005-08-17 21:21:47 +00:00
Chris Lattner
68e050feda testcase that crashes lsr, distilled from 175.vpr
llvm-svn: 22796
2005-08-16 00:36:12 +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
6df80b5d49 now that we handle non-constant strides, this testcase passes
llvm-svn: 22752
2005-08-10 17:17:45 +00:00
Chris Lattner
0d992037da New testcase
llvm-svn: 22745
2005-08-10 02:06:35 +00:00
Chris Lattner
bf2ca42064 new testcase
llvm-svn: 22743
2005-08-10 01:11:24 +00:00
Chris Lattner
5ff2a0dd88 new testcase we handle
llvm-svn: 22741
2005-08-10 00:48:11 +00:00
Chris Lattner
f439af959f new testcase
llvm-svn: 22738
2005-08-10 00:33:01 +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
957221c6b7 This is now implemented
llvm-svn: 22723
2005-08-09 00:19:44 +00:00
Chris Lattner
7052f4e5b7 A testcase I don't want to break in the future
llvm-svn: 22718
2005-08-08 22:13:49 +00:00
Chris Lattner
5c7ea6550b new testcase, not implemented yet
llvm-svn: 22703
2005-08-08 06:23:47 +00:00
Chris Lattner
950c1172f3 It is better to not depend on CSE to share multiplies due to IV insertion.
This testcase checks that only one mul is present in the output code, as it
should be.

llvm-svn: 22701
2005-08-08 05:46:51 +00:00
Chris Lattner
98c45c5a6c These are both implemented by a recent LSR patch
llvm-svn: 22700
2005-08-08 05:29:51 +00:00