Reid Spencer
0de0baf365
Changes to parameter attributes syntax.
...
llvm-svn: 32918
2007-01-05 17:40:40 +00:00
Reid Spencer
3495245ed0
Globals are not being renamed any more.
...
llvm-svn: 32917
2007-01-05 17:39:54 +00:00
Reid Spencer
ef31b4b173
This test case has been translated to 2.0 assembly so don't run
...
llvm-upgrade on it.
llvm-svn: 32916
2007-01-05 17:39:07 +00:00
Reid Spencer
a7f82d3210
Fix this to check for the correct error message.
...
llvm-svn: 32915
2007-01-05 17:37:59 +00:00
Reid Spencer
1472514984
This tests for something that will become illegal soon. The test/Feature
...
suite has a test for renaming of global variables.
llvm-svn: 32914
2007-01-05 17:36:59 +00:00
Reid Spencer
121d795195
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.
llvm-svn: 32913
2007-01-05 17:35:05 +00:00
Reid Spencer
450624cc8a
Make this test that we can drop the implementation keyword for llvm-as.
...
llvm-upgrade is irrelevant for this test case.
llvm-svn: 32912
2007-01-05 17:29:41 +00:00
Reid Spencer
25f6be8634
Fix the test case for the change in parameter attribute syntax. The @ is
...
no longer needed and the @(...) syntax has been dropped in favor of a
simple space separated list of attribute names.
llvm-svn: 32911
2007-01-05 17:26:04 +00:00
Reid Spencer
845f216f53
For PR1077:
...
Split this test case into three cases. globalredefinition.ll just tests
that a global can be forward referenced. globalredefinition2.ll tests
that llvm-upgrade will warn about renaming duplicate global variables.
globalredefinition3.ll tests that llvm-as will generate an error on
duplicate global variables. This last test is currently XFAIL because
the restriction is not implemented yet.
llvm-svn: 32910
2007-01-05 17:25:12 +00:00
Reid Spencer
8453db2776
For PR1077:
...
Global variable definitions with the same name and same type are no longer
valid so don't attempt to test for this "feature".
llvm-svn: 32909
2007-01-05 17:22:13 +00:00
Reid Spencer
14db5be69c
Give the assembler some input.
...
llvm-svn: 32903
2007-01-05 16:45:06 +00:00
Evan Cheng
818d565b40
Add a test case for SSE fcopysign using SSE bitwise operations.
...
llvm-svn: 32901
2007-01-05 08:12:59 +00:00
Chris Lattner
68c36bf43f
new test
...
llvm-svn: 32898
2007-01-05 07:35:24 +00:00
Chris Lattner
2202e966ab
manually upgrade this testcase
...
llvm-svn: 32897
2007-01-05 07:34:41 +00:00
Chris Lattner
e423dc395b
new testcase
...
llvm-svn: 32892
2007-01-05 03:03:51 +00:00
Chris Lattner
6cd25f5e1d
llvm upgrade doesn't accept 'define'
...
llvm-svn: 32891
2007-01-05 03:03:27 +00:00
Chris Lattner
9075cdd065
new testcase
...
llvm-svn: 32889
2007-01-05 02:16:36 +00:00
Chris Lattner
3f2bfb3c39
add missing flags
...
llvm-svn: 32885
2007-01-04 23:18:14 +00:00
Chris Lattner
627e21e77b
new testcase
...
llvm-svn: 32883
2007-01-04 22:22:07 +00:00
Chris Lattner
309a901eb3
remove xfailed test that depends on obsolete argument to lli
...
llvm-svn: 32876
2007-01-04 17:47:42 +00:00
Reid Spencer
2890d2f61a
Remove a manual renaming of a variable that was introduced before
...
llvm-upgrade could properly handle collapsed type planes.
llvm-svn: 32875
2007-01-04 16:46:46 +00:00
Lauro Ramos Venancio
8284722e41
Add test for constructor and destructor sections.
...
llvm-svn: 32873
2007-01-04 14:41:33 +00:00
Lauro Ramos Venancio
86c825514f
Add extload(i1) test.
...
llvm-svn: 32872
2007-01-04 14:27:21 +00:00
Lauro Ramos Venancio
c7f5caf1e7
Add test for FCOPYSIGN.
...
llvm-svn: 32871
2007-01-04 14:24:32 +00:00
Reid Spencer
18bed85d6f
XFAIL this test until such time that code gen can handle a comparison of
...
packed types.
llvm-svn: 32863
2007-01-04 03:06:23 +00:00
Reid Spencer
cfbf29b510
Add a test to ensure that we can assembly comparisons of packed values.
...
llvm-svn: 32854
2007-01-04 00:29:09 +00:00
Reid Spencer
3dda148afd
Test @zext and @sext fully as well as testing the "short" call syntax.
...
llvm-svn: 32851
2007-01-04 00:03:37 +00:00
Reid Spencer
8bd5614a39
Add a test case to test parameter attributes feature.
...
llvm-svn: 32850
2007-01-03 23:54:02 +00:00
Reid Spencer
a7c5e8f679
Update test cases that grepped for register names that have now changed
...
as a result of llvm-upgrade handling collapsed type planes better.
llvm-svn: 32849
2007-01-03 23:47:29 +00:00
Reid Spencer
69d4925e03
It is no longer permissible to have undefined types in function parameters.
...
Just fix it by defining the type as opaque.
llvm-svn: 32838
2007-01-03 17:03:48 +00:00
Reid Spencer
68e3839a5c
Fix this test case. It is no longer permissible to have undefined types
...
in function parameters. Fix by just defining the type as opaque.
llvm-svn: 32837
2007-01-03 17:01:18 +00:00
Reid Spencer
90a468a362
Fix this test cases to use parameter attributes for its parameter and
...
result types. These tests are checking for sext behavior and it won't
happen unless requested with the parameter attribute.
llvm-svn: 32828
2007-01-03 04:20:23 +00:00
Reid Spencer
b7a2ab6c21
This test case previously passed the assembler without error even though
...
it used an undefined type name as a parameter argument. This bug in the
assembler has been fixed and it is now necessary to define the type.
llvm-svn: 32826
2007-01-02 21:56:26 +00:00
Reid Spencer
9a1f9dfac9
Add a test case for abstract parameter and result types in function
...
definitions. The assembler should produce an error on this input.
llvm-svn: 32819
2007-01-02 20:47:51 +00:00
Jim Laskey
949413403e
PR1068 - Unbounded array debug info.
...
llvm-svn: 32818
2007-01-02 11:53:52 +00:00
Reid Spencer
419836498a
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.
llvm-svn: 32815
2007-01-02 05:55:05 +00:00
Reid Spencer
c18c650922
For PR1070:
...
Revert previous patch now that llvm-upgrade can handle collapsed type
plane conversion properly.
llvm-svn: 32814
2007-01-02 05:53:06 +00:00
Reid Spencer
e8c7c36077
Manually upgrade this test case to make sure that the new cast-to-bool
...
semantics are retained.
llvm-svn: 32813
2007-01-02 05:50:11 +00:00
Reid Spencer
b7f42ff5ca
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.
llvm-svn: 32812
2007-01-02 05:48:32 +00:00
Reid Spencer
f8e0a7d8be
Reverse last patch, committed by accident.
...
llvm-svn: 32809
2007-01-02 04:30:40 +00:00
Reid Spencer
f94f3f4b08
Fix this test case to be legal. There is no ubyte %tmp ever defined!
...
llvm-svn: 32808
2007-01-02 04:19:32 +00:00
Reid Spencer
36df2d89f7
Back out last revision now that llvm-upgrade can remove useless bitcasts.
...
This serves as a test of that feature.
llvm-svn: 32806
2007-01-01 01:22:53 +00:00
Rafael Espindola
d1baea3471
implement missing compares
...
patch by Lauro
bug fixed by me
llvm-svn: 32795
2006-12-31 18:52:39 +00:00
Reid Spencer
4011a8f663
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.
llvm-svn: 32789
2006-12-31 06:02:00 +00:00
Reid Spencer
01efa49df3
Run llvm-upgrade on test to prepare for new assembly syntax.
...
llvm-svn: 32769
2006-12-29 20:21:51 +00:00
Reid Spencer
c3c82c41aa
Update tests that need to be run through llvm-upgrade. This is necessary
...
for upcoming changes to the llvm assembly grammar.
llvm-svn: 32768
2006-12-29 20:01:32 +00:00
Reid Spencer
f517d2c935
Test case for PR1065.
...
llvm-svn: 32755
2006-12-23 19:14:10 +00:00
Reid Spencer
4428c3483b
For PR950:
...
This patch removes the SetCC instructions and replaces them with the ICmp
and FCmp instructions. The SetCondInst instruction has been removed and
been replaced with ICmpInst and FCmpInst.
llvm-svn: 32751
2006-12-23 06:05:41 +00:00
Chris Lattner
d2406b11df
add a generic component to this test
...
llvm-svn: 32747
2006-12-22 22:48:44 +00:00
Chris Lattner
12d10e8b92
let this pass for ppc/linux
...
llvm-svn: 32746
2006-12-22 22:38:38 +00:00