Commit Graph

2293 Commits

Author SHA1 Message Date
Nate Begeman
92d6bb35d7 Add a regression test for the recent fix for FP_TO_UINT lowering in the ppc
backend.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23995 91177308-0d34-0410-b5e6-96231b3b80d8
2005-10-25 23:53:21 +00:00
Chris Lattner
dadc5adcf4 This pass is gone
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23955 91177308-0d34-0410-b5e6-96231b3b80d8
2005-10-24 04:18:05 +00:00
Chris Lattner
4b713852c6 this pass is gone
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23954 91177308-0d34-0410-b5e6-96231b3b80d8
2005-10-24 04:17:31 +00:00
Chris Lattner
77a498cd7e New testcase that crashes the ppc backend
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23871 91177308-0d34-0410-b5e6-96231b3b80d8
2005-10-21 21:09:13 +00:00
John Criswell
3d92544261 Moved to Regression/Codegen/Generic.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23829 91177308-0d34-0410-b5e6-96231b3b80d8
2005-10-19 18:52:52 +00:00
John Criswell
eb853a498f This is a generic test for all code generators. It originally came from
Regression/Codegen/X86.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23826 91177308-0d34-0410-b5e6-96231b3b80d8
2005-10-19 18:51:07 +00:00
John Criswell
886eb39170 Force i386 code generation for an i386 specific test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23821 91177308-0d34-0410-b5e6-96231b3b80d8
2005-10-19 18:30:39 +00:00
Chris Lattner
07c375d6f6 Testcase that crashes llvmgcc in type layout
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23806 91177308-0d34-0410-b5e6-96231b3b80d8
2005-10-19 00:52:21 +00:00
Chris Lattner
f46544cd82 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23798 91177308-0d34-0410-b5e6-96231b3b80d8
2005-10-18 22:13:39 +00:00
John Criswell
d41abfa1d2 Use %s instead of hard coding the input filename.
This allows the test to work when srcdir != objdir.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23775 91177308-0d34-0410-b5e6-96231b3b80d8
2005-10-17 21:54:18 +00:00
Chris Lattner
dcdadef96d Nate implemented this :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23707 91177308-0d34-0410-b5e6-96231b3b80d8
2005-10-13 06:04:34 +00:00
Chris Lattner
11acc44e66 this passes with the change in predicate
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23699 91177308-0d34-0410-b5e6-96231b3b80d8
2005-10-11 18:42:26 +00:00
Chris Lattner
4b43159c55 lsr doesn't emit gep instructions anymore
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23696 91177308-0d34-0410-b5e6-96231b3b80d8
2005-10-11 18:28:48 +00:00
Chris Lattner
e64dfbc10b new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23689 91177308-0d34-0410-b5e6-96231b3b80d8
2005-10-10 21:57:37 +00:00
Chris Lattner
1628947362 A testcase sitting in my tree
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23687 91177308-0d34-0410-b5e6-96231b3b80d8
2005-10-10 21:21:36 +00:00
Chris Lattner
0cb34c4714 Testcase that is miscompiled by the ppc backend
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23669 91177308-0d34-0410-b5e6-96231b3b80d8
2005-10-09 05:31:47 +00:00
Chris Lattner
a77e86e73e These don't need to be sdivs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23661 91177308-0d34-0410-b5e6-96231b3b80d8
2005-10-07 15:27:12 +00:00
Chris Lattner
babac05a95 New testcase, should turn into a ushr
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23658 91177308-0d34-0410-b5e6-96231b3b80d8
2005-10-07 06:10:03 +00:00
Chris Lattner
602b02a8f4 double to float casts should nto result in an fmr
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23653 91177308-0d34-0410-b5e6-96231b3b80d8
2005-10-07 04:59:41 +00:00
Chris Lattner
ee738803c4 test broken in the IA64 backend.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23651 91177308-0d34-0410-b5e6-96231b3b80d8
2005-10-07 04:49:00 +00:00
Chris Lattner
457029c244 new testcase for PR635
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23615 91177308-0d34-0410-b5e6-96231b3b80d8
2005-10-03 23:42:54 +00:00
Andrew Lenharth
542f2df2fa more specific tests of subtarget stuff
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23570 91177308-0d34-0410-b5e6-96231b3b80d8
2005-09-30 20:30:24 +00:00
Chris Lattner
46dab2cb0a Add a test that you can forward ref a class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23547 91177308-0d34-0410-b5e6-96231b3b80d8
2005-09-30 04:52:43 +00:00
Chris Lattner
57a7db6cdb Check that we can refer to the same class we are defining.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23541 91177308-0d34-0410-b5e6-96231b3b80d8
2005-09-30 04:10:17 +00:00
Chris Lattner
d21dd0d8ad new testcase for isascii
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23520 91177308-0d34-0410-b5e6-96231b3b80d8
2005-09-29 06:16:37 +00:00
Chris Lattner
475cfe42c0 add a new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23518 91177308-0d34-0410-b5e6-96231b3b80d8
2005-09-29 06:11:34 +00:00
Chris Lattner
3a972c2951 add a testcase for a feature we regressed on because noone wrote the test! :(
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23513 91177308-0d34-0410-b5e6-96231b3b80d8
2005-09-28 23:03:11 +00:00
Chris Lattner
dea6695716 add testcase for nand
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23495 91177308-0d34-0410-b5e6-96231b3b80d8
2005-09-28 18:08:58 +00:00
Chris Lattner
3e63428b2d Consolidate the eqv.ll and nor.ll files together.
Add a missed eqv case.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23493 91177308-0d34-0410-b5e6-96231b3b80d8
2005-09-28 18:04:22 +00:00
Chris Lattner
14c9caba44 simple tests for nor generation
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23491 91177308-0d34-0410-b5e6-96231b3b80d8
2005-09-28 17:55:10 +00:00
Chris Lattner
ee35a4f958 Testcase for PR632
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23483 91177308-0d34-0410-b5e6-96231b3b80d8
2005-09-27 22:27:19 +00:00
Chris Lattner
7a66641ba9 new testcase the CBE creates invalid C code for
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23474 91177308-0d34-0410-b5e6-96231b3b80d8
2005-09-27 20:52:30 +00:00
Chris Lattner
90b108774f Add a simple testcase for lowerinvoke
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23471 91177308-0d34-0410-b5e6-96231b3b80d8
2005-09-27 18:34:31 +00:00
Chris Lattner
dbe298571f add a new testcase for constant foldable calls
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23464 91177308-0d34-0410-b5e6-96231b3b80d8
2005-09-27 05:02:03 +00:00
Chris Lattner
93a900111f Add a more difficult testcase which uses a call to a helper function to do
the initialization


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23461 91177308-0d34-0410-b5e6-96231b3b80d8
2005-09-27 04:44:04 +00:00
Chris Lattner
33c36f399f Testcase that uses an alloca
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23451 91177308-0d34-0410-b5e6-96231b3b80d8
2005-09-26 17:06:32 +00:00
Chris Lattner
43898ef0ae add another case, this one that uses getelementptr instructions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23448 91177308-0d34-0410-b5e6-96231b3b80d8
2005-09-26 06:51:50 +00:00
Chris Lattner
d44b0ff038 add a test for load
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23440 91177308-0d34-0410-b5e6-96231b3b80d8
2005-09-26 05:14:48 +00:00
Chris Lattner
44b19f2bcb add another testcase with simple control flow
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23438 91177308-0d34-0410-b5e6-96231b3b80d8
2005-09-26 04:57:10 +00:00
Chris Lattner
1fcfe32e51 make this harder: put some code into it
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23436 91177308-0d34-0410-b5e6-96231b3b80d8
2005-09-26 04:43:01 +00:00
Chris Lattner
09eec56af0 new testcase for static ctor list optimizations
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23432 91177308-0d34-0410-b5e6-96231b3b80d8
2005-09-26 01:42:03 +00:00
Chris Lattner
8a11da021b All of these should turn into sign extends (e.g. extsh/extsb on PPC)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23427 91177308-0d34-0410-b5e6-96231b3b80d8
2005-09-24 23:42:18 +00:00
Chris Lattner
397fa21f27 Enhance this to check for a crash, add a case that crashes simplifylibcalls,
and add a case that has uses.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23424 91177308-0d34-0410-b5e6-96231b3b80d8
2005-09-24 22:16:04 +00:00
Chris Lattner
d4f43519c2 new testcase that crashes the CFE
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23423 91177308-0d34-0410-b5e6-96231b3b80d8
2005-09-24 20:54:33 +00:00
Chris Lattner
5fada3b218 new testcase for PR630
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23422 91177308-0d34-0410-b5e6-96231b3b80d8
2005-09-24 08:38:28 +00:00
Chris Lattner
9a82a3ccac new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23409 91177308-0d34-0410-b5e6-96231b3b80d8
2005-09-23 18:43:57 +00:00
Chris Lattner
e8033c00d6 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23402 91177308-0d34-0410-b5e6-96231b3b80d8
2005-09-23 00:53:06 +00:00
Chris Lattner
77f800545e Testcase for PR629
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23401 91177308-0d34-0410-b5e6-96231b3b80d8
2005-09-21 06:53:56 +00:00
Chris Lattner
055135d1c1 make this test harder: add a case where instructions are in the bb to be
threaded over


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23396 91177308-0d34-0410-b5e6-96231b3b80d8
2005-09-20 01:43:41 +00:00
Chris Lattner
ecd7b6d110 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23394 91177308-0d34-0410-b5e6-96231b3b80d8
2005-09-20 00:41:55 +00:00