Chris Lattner
0b3b64730c
new testcase for pr867
...
llvm-svn: 29514
2006-08-03 21:39:41 +00:00
Chris Lattner
41c673c27a
testcase for PR827
...
llvm-svn: 29119
2006-07-12 18:27:13 +00:00
Chris Lattner
96b010ecb2
Add tests for 16-bit byteswaps.
...
llvm-svn: 29086
2006-07-10 20:25:01 +00:00
Owen Anderson
fed248a933
Add a test for the LCSSA issue I just fixed.
...
llvm-svn: 29077
2006-07-09 08:17:30 +00:00
Chris Lattner
e5d864fadc
Testcase for PR820
...
llvm-svn: 29070
2006-07-07 21:36:42 +00:00
Chris Lattner
a7feb94eda
Infinite loop in instcombine that nate hit.
...
llvm-svn: 28960
2006-06-28 17:34:28 +00:00
Chris Lattner
3ec808d0a9
New testcase, reduced by nate, which crashes DSE
...
llvm-svn: 28949
2006-06-27 23:47:39 +00:00
Owen Anderson
c954a12d6c
Testcase that Nate found where LoopUnswitch chokes on eliminating a dead case
...
from a switch instruction.
llvm-svn: 28946
2006-06-27 22:24:59 +00:00
Chris Lattner
7104d3b8a7
testcase that crashes dead arg elim.
...
llvm-svn: 28942
2006-06-27 20:58:41 +00:00
Chris Lattner
9e284be377
new testcase that crashes indvars
...
llvm-svn: 28849
2006-06-17 01:01:30 +00:00
Chris Lattner
756231f26f
new testcase, instcombine should turn these into llvm.bswap intrinsics.
...
llvm-svn: 28802
2006-06-15 19:06:42 +00:00
Chris Lattner
49a37a58ac
new testcase, distilled from povray
...
llvm-svn: 28778
2006-06-14 04:45:45 +00:00
Chris Lattner
8e718346df
TEstcase that makes simplifycfg infloop.
...
llvm-svn: 28757
2006-06-12 20:17:44 +00:00
Owen Anderson
4796bc9bda
Make sure that LCSSA works properly when it encounters an exit block that has
...
more than one predecessor inside the loop.
llvm-svn: 28749
2006-06-12 07:05:47 +00:00
Owen Anderson
a7969cf3bc
Update the regression tests, and add a new one encountered while compiling crtend.
...
llvm-svn: 28681
2006-06-04 00:56:30 +00:00
Chris Lattner
a3888ec9bb
testcase for the recent inliner improvement.
...
llvm-svn: 28643
2006-06-01 21:54:58 +00:00
Owen Anderson
d084ef3d2e
Require both tests to pass.
...
llvm-svn: 28531
2006-05-29 01:28:16 +00:00
Owen Anderson
288a8b2d78
Update the testcase to check the full extent of LCSSA.
...
llvm-svn: 28530
2006-05-29 01:07:04 +00:00
Chris Lattner
2a1f1bb6d5
New testcase: check that the inliner constant folds instructions on the
...
fly if it can.
llvm-svn: 28515
2006-05-27 01:16:22 +00:00
Owen Anderson
4e6d8eb367
Trivial testcase that LCSSA can already handle.
...
llvm-svn: 28508
2006-05-26 21:59:20 +00:00
Chris Lattner
80f83ad994
New testcase for trivial DSE
...
llvm-svn: 28502
2006-05-26 19:18:40 +00:00
Chris Lattner
d5dcb39d9f
new testcase
...
llvm-svn: 28486
2006-05-25 23:23:22 +00:00
Chris Lattner
3bbd20f754
new testcases
...
llvm-svn: 28484
2006-05-25 22:52:49 +00:00
Chris Lattner
24762cd819
The patch corresponding to this test had to be reverted as unsafe.
...
llvm-svn: 28479
2006-05-25 21:25:54 +00:00
Chris Lattner
3bbd6b7656
Testcase for a new instcombine xform, patch contributed by Nick Lewycky!
...
llvm-svn: 28449
2006-05-24 17:34:02 +00:00
Chris Lattner
5f2a11f1bf
New testcase for instcombine
...
llvm-svn: 28272
2006-05-13 02:00:07 +00:00
Chris Lattner
f99a429a12
New testcase, check that dead code doesn't pessimize instcombine
...
llvm-svn: 28214
2006-05-10 18:56:04 +00:00
Chris Lattner
0da270237b
This test passes now, remove xfail marker
...
Change test to be a positive test instead of a negative test
llvm-svn: 28159
2006-05-07 18:16:31 +00:00
Chris Lattner
d689dd7659
new testcase from ghostscript that inf looped instcombine
...
llvm-svn: 28140
2006-05-06 08:58:06 +00:00
Chris Lattner
953b6c92de
New testcase
...
llvm-svn: 28125
2006-05-05 06:38:40 +00:00
Chris Lattner
058c9af16b
new testcase that crashes the instcombine pass
...
llvm-svn: 28100
2006-05-04 17:33:24 +00:00
Chris Lattner
8665f8644d
new testcase miscompiled by instcombine
...
llvm-svn: 28018
2006-04-28 22:17:20 +00:00
Chris Lattner
c251c24048
new testcase
...
llvm-svn: 28006
2006-04-28 04:14:29 +00:00
Chris Lattner
7fd4f0d367
This should turn into one vector shuffle instruction.
...
llvm-svn: 27996
2006-04-27 21:13:58 +00:00
Chris Lattner
24beb0433f
new testcase
...
llvm-svn: 27981
2006-04-26 18:32:59 +00:00
Chris Lattner
a94e008bca
new testcase
...
llvm-svn: 27911
2006-04-20 20:48:32 +00:00
Andrew Lenharth
a9851de72e
can we cast between pointers and IntPtrType
...
llvm-svn: 27879
2006-04-20 14:54:17 +00:00
Chris Lattner
dc53296ea1
New testcase, checking to see we can turn this code:
...
void test(vector float *F, float f) {
vector float G = *F + *F;
*((float*)&G) = f;
*F = G + G;
}
void test2(vector float *F, float f) {
vector float G = *F + *F;
((float*)&G)[2] = f;
*F = G + G;
}
void test3(vector float *F, float *f) {
vector float G = *F + *F;
*f = ((float*)&G)[2];
}
void test4(vector float *F, float *f) {
vector float G = *F + *F;
*f = *((float*)&G);
}
into insert/extract element operations with no memory traffic.
llvm-svn: 27709
2006-04-14 21:41:54 +00:00
Chris Lattner
dbe00bf8d7
new testcase, vector operations should be CSE'd
...
llvm-svn: 27690
2006-04-14 05:09:53 +00:00
Tanya Lattner
9cd1518d42
Added the ability to xfail based on llvmgcc version
...
llvm-svn: 27635
2006-04-12 21:57:40 +00:00
Chris Lattner
0dd4945141
These casts should turn into gep instructions
...
llvm-svn: 27618
2006-04-12 18:07:41 +00:00
Chris Lattner
3410f3ce09
new testcase
...
llvm-svn: 27572
2006-04-10 23:06:18 +00:00
Chris Lattner
b6b6409589
New testcase
...
llvm-svn: 27570
2006-04-10 22:45:37 +00:00
Chris Lattner
5d0c18c998
New testcase that caused instcombine to infinitely loop (with my recent
...
patch), distilled from Applications/JM/ldecod
llvm-svn: 27329
2006-04-01 22:04:40 +00:00
Chris Lattner
bce001c462
new testcases
...
llvm-svn: 27327
2006-04-01 08:02:51 +00:00
Chris Lattner
a8bc001cd3
new testcase for PR726
...
llvm-svn: 27325
2006-04-01 04:47:17 +00:00
Chris Lattner
f56ee2961c
new testcase that crashes instcombine
...
llvm-svn: 27260
2006-03-30 22:01:08 +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
64752a69e2
new testcase, contributed by Eric Kidd.
...
llvm-svn: 26871
2006-03-19 19:36:32 +00:00
Chris Lattner
9f8f690fbb
new testcase from a FIXME in the code
...
llvm-svn: 26756
2006-03-14 08:13:09 +00:00