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

1029 Commits

Author SHA1 Message Date
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
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
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
9e766930c7 new testcase
llvm-svn: 26596
2006-03-07 17:56:31 +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
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
fbb4cb0a6d add a couple more cases
llvm-svn: 26468
2006-03-02 06:50:04 +00:00
Chris Lattner
591bae524a new testcase
llvm-svn: 26426
2006-02-28 19:46:56 +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
3ceedb4228 new testcase
llvm-svn: 26384
2006-02-26 19:55:30 +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
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