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
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
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
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
80382e87f5
new testcase
...
llvm-svn: 32714
2006-12-20 06:20:23 +00:00
Reid Spencer
c56e82c8c6
Update this test because constant integers are always printed signed now.
...
llvm-svn: 32699
2006-12-19 22:42:17 +00:00
Reid Spencer
bdacdb51ff
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
27a42f7300
For PR950:
...
Upgrade this test in preparation for the SETCC patch.
llvm-svn: 32669
2006-12-19 02:14:08 +00:00
Chris Lattner
be9b063230
Fix borken testcase
...
llvm-svn: 32627
2006-12-16 02:30:24 +00:00
Chris Lattner
8ef8f5d01c
fix buggy testcase
...
llvm-svn: 32626
2006-12-16 02:29:22 +00:00
Chris Lattner
f1da201b2b
reenable these
...
llvm-svn: 32596
2006-12-15 07:32:49 +00:00
John Criswell
385a8f534d
Remove DSA tests.
...
llvm-svn: 32549
2006-12-13 19:39:27 +00:00
John Criswell
c349ec7d46
Remove DSA tests.
...
llvm-svn: 32547
2006-12-13 18:05:30 +00:00
Chris Lattner
5e58478f97
xfail these until I recommit the scalarrepl patch
...
llvm-svn: 32545
2006-12-13 17:42:40 +00:00
Chris Lattner
6b7c163064
new testcase for pr1045
...
llvm-svn: 32467
2006-12-12 04:24:17 +00:00
Chris Lattner
e1ea74ac70
constant folding of bitcast is broken.
...
llvm-svn: 32437
2006-12-11 18:29:07 +00:00
Chris Lattner
15956c6316
new testcase
...
llvm-svn: 32421
2006-12-11 00:34:27 +00:00
Chris Lattner
04231146c0
testcase for a regression introduced by the recent cast patch
...
llvm-svn: 32419
2006-12-11 00:12:07 +00:00
Chris Lattner
a1bb8bb3cc
new testcase
...
llvm-svn: 32417
2006-12-10 23:52:28 +00:00
Reid Spencer
54036d73ce
Too soon to commit, revert.
...
llvm-svn: 32397
2006-12-09 05:13:50 +00:00
Reid Spencer
4d24c45baa
New test cases for regressions in the SetCC -> ICmp patch.
...
llvm-svn: 32396
2006-12-09 05:13:01 +00:00
Reid Spencer
f814074520
This test needs to be upgraded.
...
llvm-svn: 32359
2006-12-08 17:39:49 +00:00
Reid Spencer
67bafa2287
For PR950:
...
Add a test for a regression in combining of ICmp instructions.
llvm-svn: 32358
2006-12-08 17:38:55 +00:00
Reid Spencer
9fd2e2d12b
Manually convert this to new assembly.
...
llvm-svn: 32301
2006-12-07 04:20:23 +00:00
Chris Lattner
4d21615eb9
Instcombine shouldn't fold these casts.
...
llvm-svn: 32243
2006-12-05 23:43:20 +00:00
Chris Lattner
6da381c3d5
new testcase
...
llvm-svn: 32210
2006-12-05 01:29:01 +00:00
Devang Patel
ae17721f63
SCCP does not handle Packed Type properly. Disable Packed Type handling
...
for now.
llvm-svn: 32208
2006-12-04 23:54:59 +00:00
Jim Laskey
c489d15841
Purpose of test is lost in upgrade.
...
llvm-svn: 32182
2006-12-04 17:54:29 +00:00
Jim Laskey
1e07d1a63e
Remove debug info.
...
llvm-svn: 32181
2006-12-04 17:06:15 +00:00
Reid Spencer
70c4b50c14
Upgrade to version 7 bytecode format.
...
llvm-svn: 32143
2006-12-03 04:40:09 +00:00
Reid Spencer
18fdc5e273
Upgrade intrinsic function calls manually.
...
llvm-svn: 32137
2006-12-02 20:41:53 +00:00
Reid Spencer
7e29e5b205
Prevent a GEP from getting upgraded to avoid resulting test failure.
...
llvm-svn: 32123
2006-12-02 16:25:20 +00:00
Reid Spencer
6233e120de
Update this test to use llvm-update.
...
llvm-svn: 32117
2006-12-02 05:02:46 +00:00
Reid Spencer
7f5ef2d7a5
Use the llvm-upgrade program to upgrade llvm assembly.
...
llvm-svn: 32115
2006-12-02 04:23:10 +00:00
Chris Lattner
906e9c8346
new testcase
...
llvm-svn: 32111
2006-12-02 00:12:32 +00:00
Chris Lattner
14c6518757
fix incorrectly translated testcase
...
llvm-svn: 32093
2006-12-01 21:38:02 +00:00
Chris Lattner
f6a48f7ea5
test1 is miscompiled
...
llvm-svn: 32086
2006-12-01 19:50:04 +00:00
Chris Lattner
badf74d91d
new 'cast' miscompilation, reduced from perlbmk by Evan
...
llvm-svn: 32079
2006-12-01 19:02:56 +00:00
Chris Lattner
6be189eb1a
new testcase
...
llvm-svn: 32061
2006-12-01 05:54:48 +00:00
Reid Spencer
2cf24d8d84
The InstCombine hack has been removed, no need to XFAIL this any more.
...
llvm-svn: 32058
2006-12-01 01:50:45 +00:00
Chris Lattner
941474486f
new bswap idiom
...
llvm-svn: 32012
2006-11-29 07:21:08 +00:00
Chris Lattner
0fe0a11839
new testcase
...
llvm-svn: 32010
2006-11-29 07:17:32 +00:00
Chris Lattner
bedba50acf
new testcase
...
llvm-svn: 32008
2006-11-29 07:03:00 +00:00
Chris Lattner
ff4e213d2d
new testcase, bswaps should be eliminated.
...
llvm-svn: 32005
2006-11-29 05:00:14 +00:00
Reid Spencer
3d65b7aef6
Fix a typo.
...
llvm-svn: 31959
2006-11-28 06:14:06 +00:00
Chris Lattner
d63c9e2f64
this doesn't pass with CVS HEAD.
...
llvm-svn: 31942
2006-11-27 20:01:48 +00:00
Chris Lattner
3323b82fe6
testcase for PR1014
...
llvm-svn: 31939
2006-11-27 19:47:22 +00:00
Reid Spencer
7054676526
Add a test to ensure a bitcast/and/trunc combination eliminates the bitcast.
...
llvm-svn: 31934
2006-11-27 05:06:58 +00:00