Reid Spencer
5b353d3116
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
f8e060f589
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
51397401ba
Reverse last patch, committed by accident.
...
llvm-svn: 32809
2007-01-02 04:30:40 +00:00
Reid Spencer
8218de2f01
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
7b25bf07af
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
fd68718467
implement missing compares
...
patch by Lauro
bug fixed by me
llvm-svn: 32795
2006-12-31 18:52:39 +00:00
Reid Spencer
deb4d5ab46
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
399b10a48c
Run llvm-upgrade on test to prepare for new assembly syntax.
...
llvm-svn: 32769
2006-12-29 20:21:51 +00:00
Reid Spencer
640509924e
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
208099bbee
Test case for PR1065.
...
llvm-svn: 32755
2006-12-23 19:14:10 +00:00
Reid Spencer
266e42b312
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
70e09a2148
add a generic component to this test
...
llvm-svn: 32747
2006-12-22 22:48:44 +00:00
Chris Lattner
b3fbcbea8f
let this pass for ppc/linux
...
llvm-svn: 32746
2006-12-22 22:38:38 +00:00
Reid Spencer
ba2297ca7c
Integer constants now print out as signed values in the assembly,
...
regardless of the signedness of the associated type.
llvm-svn: 32734
2006-12-21 19:14:49 +00:00
Jim Laskey
39377e4594
These tests all rely on using register mnemonics and thus must behave in the
...
world of darwin.
llvm-svn: 32725
2006-12-21 00:01:42 +00:00
Reid Spencer
21278e9932
Add some tests for negative constants to unsigned and large positive
...
constants to signed.
llvm-svn: 32717
2006-12-20 17:27:58 +00:00
Chris Lattner
aef35566f5
new testcase
...
llvm-svn: 32714
2006-12-20 06:20:23 +00:00
Reid Spencer
38ea551520
Update this test because constant integers are always printed signed now.
...
llvm-svn: 32699
2006-12-19 22:42:17 +00:00
Reid Spencer
1e9d4977b6
For PR950:
...
Test needs to be upgraded for the forthcoming FCmpInst patch.
llvm-svn: 32683
2006-12-19 19:55:17 +00:00
Reid Spencer
98679b56a1
This test needs to be upgraded for the forthcoming FCmpInst patch.
...
llvm-svn: 32682
2006-12-19 19:50:30 +00:00
Reid Spencer
fb5e766bea
This test needs to be upgraded for the FCmpInst patch.
...
llvm-svn: 32677
2006-12-19 19:30:58 +00:00
Reid Spencer
60544284e8
Make sure linker output is overwritten so this test can pass multiple times.
...
llvm-svn: 32675
2006-12-19 19:29:50 +00:00
Chris Lattner
8826afd893
testcase for pr1061
...
llvm-svn: 32674
2006-12-19 19:29:50 +00:00
Reid Spencer
56fd357f5e
Back out last revision, a bit premature, its not an upgrade-only change.
...
llvm-svn: 32670
2006-12-19 02:17:23 +00:00
Reid Spencer
60ea16cd6d
For PR950:
...
Upgrade this test in preparation for the SETCC patch.
llvm-svn: 32669
2006-12-19 02:14:08 +00:00
Reid Spencer
2fff0acab4
For PR950:
...
These tests need to be upgraded in preparation for the SETCC patch.
llvm-svn: 32668
2006-12-19 02:09:20 +00:00
Reid Spencer
fe0cda3de8
This test needs to be upgraded in preparation for the SETCC patch.
...
llvm-svn: 32667
2006-12-19 02:07:11 +00:00
Reid Spencer
c136005f32
This test needs to be upgraded.
...
llvm-svn: 32666
2006-12-19 02:03:04 +00:00
Reid Spencer
0e60d55519
Add a couple little tests for SExt/ZExt of constants of a sign that doesn't
...
match.
llvm-svn: 32647
2006-12-18 01:11:46 +00:00
Chris Lattner
5ffb07839d
testcase for pr1049
...
llvm-svn: 32632
2006-12-16 21:12:49 +00:00
Chris Lattner
cbc280f559
Fix one more broken testcase
...
llvm-svn: 32631
2006-12-16 20:27:43 +00:00
Chris Lattner
a07e363aae
Fix borken testcase
...
llvm-svn: 32627
2006-12-16 02:30:24 +00:00
Chris Lattner
cf1eac3535
fix buggy testcase
...
llvm-svn: 32626
2006-12-16 02:29:22 +00:00
Chris Lattner
cff7b8a9ca
testcases for PR1042
...
llvm-svn: 32625
2006-12-16 02:26:57 +00:00
Andrew Lenharth
54de5be0b4
extern_weak link test
...
llvm-svn: 32602
2006-12-15 17:34:37 +00:00
Chris Lattner
43662ef02b
reenable these
...
llvm-svn: 32596
2006-12-15 07:32:49 +00:00
Chris Lattner
bb39cc4631
New testcase for llvm-gcc bugfix
...
llvm-svn: 32594
2006-12-15 06:49:20 +00:00
Rafael Espindola
3b7544e24c
avoid using a constant table when a constant can be used inline
...
llvm-svn: 32580
2006-12-14 18:58:37 +00:00
Rafael Espindola
09e2921d9a
Avoid creating invalid sub/add instructions on the prolog/epilog
...
patch by Lauro
llvm-svn: 32577
2006-12-14 13:31:27 +00:00
John Criswell
21a589beba
Remove DSA tests.
...
llvm-svn: 32549
2006-12-13 19:39:27 +00:00
John Criswell
62813edc67
Remove DSA tests.
...
llvm-svn: 32547
2006-12-13 18:05:30 +00:00
Chris Lattner
e612d336d9
xfail these until I recommit the scalarrepl patch
...
llvm-svn: 32545
2006-12-13 17:42:40 +00:00
John Criswell
f9e355c7f1
Remove DSA tests.
...
llvm-svn: 32543
2006-12-13 17:02:04 +00:00
Chris Lattner
fc069248f7
New testcase for PR1047
...
llvm-svn: 32528
2006-12-13 04:30:18 +00:00
Rafael Espindola
67d1c8ae0e
more general matching of the MVN instruction
...
llvm-svn: 32484
2006-12-12 17:10:13 +00:00
Rafael Espindola
470d61d82c
don't use "ordinary" addressing mode 1 when mvn is appropriate
...
llvm-svn: 32482
2006-12-12 14:03:29 +00:00
Chris Lattner
f65ce046db
new testcase for pr1045
...
llvm-svn: 32467
2006-12-12 04:24:17 +00:00
Chris Lattner
f929e81d37
This should check for darwin literal sections as well.
...
llvm-svn: 32464
2006-12-12 03:59:46 +00:00
Rafael Espindola
9fa0a26808
use MVN to handle small negative constants
...
llvm-svn: 32459
2006-12-12 01:03:11 +00:00
Reid Spencer
aabebbbf2e
Don't bother upgrading this.
...
llvm-svn: 32458
2006-12-12 00:53:31 +00:00