Commit Graph

139 Commits

Author SHA1 Message Date
Reid Spencer
3d66ad03a4 Currently, there is no fix for this.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32952 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-06 05:16:27 +00:00
Reid Spencer
4da3df039e Test case for PR1082, an llvm-upgrade bug.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32951 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-06 05:15:27 +00:00
Reid Spencer
eb0d1d3508 Test Case for PR1080.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32943 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-06 00:22:38 +00:00
Reid Spencer
869f8eb52b Fix this to check for the correct error message.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32915 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-05 17:37:59 +00:00
Reid Spencer
71fc834b3f This tests for something that will become illegal soon. The test/Feature
suite has a test for renaming of global variables.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32914 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-05 17:36:59 +00:00
Reid Spencer
89d983720e Beef up this test case a little by introducing a global variable name
conflict after upgrade resulting from collapsed type planes. The test now
checks to make sure llvm-upgrade produces appropriate warning messages.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32913 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-05 17:35:05 +00:00
Reid Spencer
280e6467c3 Make this test that we can drop the implementation keyword for llvm-as.
llvm-upgrade is irrelevant for this test case.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32912 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-05 17:29:41 +00:00
Reid Spencer
42525a3c5b Add a test case for abstract parameter and result types in function
definitions. The assembler should produce an error on this input.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32819 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-02 20:47:51 +00:00
Reid Spencer
7e6b4f7a6d For PR1070:
Tweak the RUN: lines of these tests to accommodate the renaming of
variables done by llvm-upgrade. The renaming occurs as a result of avoiding
name collisons for collapsed type planes. Conflicting names have a .u
(unsigned) or .s (signed) suffix added. This patch updates the grep
expression to accommodate the new names.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32815 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-02 05:55:05 +00:00
Reid Spencer
a14c3f11ac Manually upgrade this test case to make sure that the new cast-to-bool
semantics are retained.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32813 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-02 05:50:11 +00:00
Reid Spencer
6e8e64421e For PR1070:
Add a test case to ensure that llvm-upgrade retains correct semantics
for the previous definition of "cast to bool" which compared against null.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32812 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-02 05:48:32 +00:00
Reid Spencer
eacb7020ec For PR950:
Update the test suite to accommodate the change from signed integer types
to signless integer types. The changes were of only a few kinds:

1. Make sure llvm-upgrade is run on the source which does the bulk of the
   changes automatically.

2. Change things like "grep 'int'" to "grep 'i32'"

3. In several tests bitcasting caused the same name to be reused in the
   same type plane. These had to be manually fixed. The fix was (generally)
   to leave the bitcast and provide the instruction with a new name. This
   should not affect the semantics of the test. In a few cases, the
   bitcasts were known to be superfluous and irrelevant to the test case
   so they were removed.

4. One test case uses a bytecode file which needed to be updated to the
   latest bytecode format.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32789 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-31 06:02:00 +00:00
Reid Spencer
73e70822ae Update tests that need to be run through llvm-upgrade. This is necessary
for upcoming changes to the llvm assembly grammar.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32768 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-29 20:01:32 +00:00
Reid Spencer
ed819df5ef Fix the run line and make this test more specific.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32403 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-09 19:39:56 +00:00
Reid Spencer
c96660aef7 Add a check to catch an incorrect upgrade.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32402 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-09 19:35:43 +00:00
Reid Spencer
d7c2c2f753 Use llvm-upgrade these tests as they all use old assembly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32130 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-02 20:34:08 +00:00
Reid Spencer
69ccadd753 Use the llvm-upgrade program to upgrade llvm assembly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32115 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-02 04:23:10 +00:00
Reid Spencer
3da59db637 For PR950:
The long awaited CAST patch. This introduces 12 new instructions into LLVM
to replace the cast instruction. Corresponding changes throughout LLVM are
provided. This passes llvm-test, llvm/test, and SPEC CPUINT2000 with the
exception of 175.vpr which fails only on a slight floating point output
difference.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31931 91177308-0d34-0410-b5e6-96231b3b80d8
2006-11-27 01:05:10 +00:00
Reid Spencer
e5d4efa63e Promote GEP ubyte indices to uint. Backwards compatibility for 1.2 and
older features will be dropped soon and these test cases must not rely
on the upgrade capability.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31896 91177308-0d34-0410-b5e6-96231b3b80d8
2006-11-23 15:14:52 +00:00
Reid Spencer
8a4d430a3a Add a test case for PR902.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30653 91177308-0d34-0410-b5e6-96231b3b80d8
2006-09-28 21:20:05 +00:00
Chris Lattner
e812d1133b New testcase, check that the bc file correctly encodes varargs nonccc calls.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28500 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-26 18:41:26 +00:00
Tanya Lattner
9727555859 Added the ability to xfail based on llvmgcc version
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27635 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-12 21:57:40 +00:00
Reid Spencer
2676f83776 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".


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27009 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-23 23:41:57 +00:00
Chris Lattner
63540f5cf1 new tests, derived from cosmics scheme output
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25111 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-05 07:46:46 +00:00
Chris Lattner
72f49aae17 this test fails
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24994 91177308-0d34-0410-b5e6-96231b3b80d8
2005-12-23 16:14:29 +00:00
Reid Spencer
84c744fe58 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24963 91177308-0d34-0410-b5e6-96231b3b80d8
2005-12-22 21:07:29 +00:00
Chris Lattner
90b02b08a5 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24902 91177308-0d34-0410-b5e6-96231b3b80d8
2005-12-21 17:52:42 +00:00
Chris Lattner
554a4dc987 new testcase for PR541
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21702 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-05 22:23:10 +00:00
Chris Lattner
177f247d59 This error message changed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20734 91177308-0d34-0410-b5e6-96231b3b80d8
2005-03-21 17:55:41 +00:00
Chris Lattner
47b72fbf29 Fix misspellings, patch contributed by Gabor Greif!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20341 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-27 06:14:21 +00:00
Chris Lattner
55d813aef6 New testcase that the asmwriter botches.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20088 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-09 17:42:24 +00:00
Chris Lattner
70dd7709e5 This bug crashes the assembler, distilled from a testcase produced by Andrew.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19964 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-01 01:44:54 +00:00
Chris Lattner
785b9c0b59 Update this test to pass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19285 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-05 15:23:06 +00:00
Chris Lattner
b9befc5179 Test that trivial constants are not printed in hex notation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19281 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-04 01:58:26 +00:00
Chris Lattner
e36ae664b9 This test is xfail right now, to keep DJ clean, also mention the PR# in testcases.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18609 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-08 02:25:32 +00:00
Reid Spencer
66e10ab153 Test case for PR409:
Make sure that floating point constant values outside the range of a float
cannot be assigned to a constant.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18582 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-06 21:57:59 +00:00
Chris Lattner
bf90a5be71 Change this test to not require execution of the program.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18533 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-05 06:45:30 +00:00
Chris Lattner
c2e63a2d93 New testcase for the bug affecting 255.vortex in CBE mode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18529 91177308-0d34-0410-b5e6-96231b3b80d8
2004-12-05 06:18:35 +00:00
Chris Lattner
96d7dac55f new testcase for PR463
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18304 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-28 16:47:46 +00:00
Tanya Lattner
c8c1f12778 Adding srcdir arg
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18020 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-19 22:45:25 +00:00
Tanya Lattner
28b372f1d3 Adding subdirectory dg.exp files in order to be able to use dejagnu to only run specific tests (located in some subdirectory of Regression)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17712 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-13 23:00:45 +00:00
Chris Lattner
ec3a78f7ad Revert back to r1.1, I'm just thoroughly confused :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17571 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-07 07:46:15 +00:00
Chris Lattner
ac196c66a3 Add new (old) testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17570 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-07 07:41:32 +00:00
Tanya Lattner
6089616946 Added RUN line.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17556 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-07 05:01:34 +00:00
Tanya Lattner
e7e3f2e5cd Adding RUN lines.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17528 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-06 22:07:09 +00:00
Tanya Lattner
12ff96854d Adding XFAIL lines for dejagnu support.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17514 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-06 20:38:27 +00:00
Chris Lattner
7450d81342 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17176 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-23 03:10:01 +00:00
Chris Lattner
1b2f90d2c0 The verifier takes 50s on this testcase, that is not good n stuff
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16592 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-29 20:07:25 +00:00
Chris Lattner
e9670e3623 this "feature" is gone
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14832 91177308-0d34-0410-b5e6-96231b3b80d8
2004-07-14 23:12:09 +00:00
Chris Lattner
582429947a Add a test that I have had in my tree for several months now, but apparently forgot to commit
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14690 91177308-0d34-0410-b5e6-96231b3b80d8
2004-07-08 15:41:08 +00:00