Commit Graph

1163 Commits

Author SHA1 Message Date
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
00d35c5a34 Test case for PR1065.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32755 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-23 19:14:10 +00:00
Reid Spencer
e4d87aa2de 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32751 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-23 06:05:41 +00:00
Chris Lattner
d407f41413 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32714 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-20 06:20:23 +00:00
Reid Spencer
13b017c1f9 Update this test because constant integers are always printed signed now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32699 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-19 22:42:17 +00:00
Reid Spencer
0b985dc84a Back out last revision, a bit premature, its not an upgrade-only change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32670 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-19 02:17:23 +00:00
Reid Spencer
f2315900fd For PR950:
Upgrade this test in preparation for the SETCC patch.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32669 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-19 02:14:08 +00:00
Chris Lattner
4c8e36934f Fix borken testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32627 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-16 02:30:24 +00:00
Chris Lattner
c80dfba667 fix buggy testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32626 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-16 02:29:22 +00:00
Chris Lattner
d6032177f5 reenable these
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32596 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-15 07:32:49 +00:00
John Criswell
6422564333 Remove DSA tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32549 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-13 19:39:27 +00:00
John Criswell
308fce15ec Remove DSA tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32547 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-13 18:05:30 +00:00
Chris Lattner
18c3e6524d xfail these until I recommit the scalarrepl patch
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32545 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-13 17:42:40 +00:00
Chris Lattner
bcb56d8104 new testcase for pr1045
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32467 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-12 04:24:17 +00:00
Chris Lattner
4ed4ac34c3 constant folding of bitcast is broken.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32437 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-11 18:29:07 +00:00
Chris Lattner
e629ff0be8 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32421 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-11 00:34:27 +00:00
Chris Lattner
5bd2db38f8 testcase for a regression introduced by the recent cast patch
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32419 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-11 00:12:07 +00:00
Chris Lattner
1846783d93 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32417 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-10 23:52:28 +00:00
Reid Spencer
ee2c7b08c5 Too soon to commit, revert.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32397 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-09 05:13:50 +00:00
Reid Spencer
30e6c63486 New test cases for regressions in the SetCC -> ICmp patch.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32396 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-09 05:13:01 +00:00
Reid Spencer
f6a3f00055 This test needs to be upgraded.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32359 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-08 17:39:49 +00:00
Reid Spencer
f6825c5ddc For PR950:
Add a test for a regression in combining of ICmp instructions.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32358 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-08 17:38:55 +00:00
Reid Spencer
d422db8547 Manually convert this to new assembly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32301 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-07 04:20:23 +00:00
Chris Lattner
9faab9bd93 Instcombine shouldn't fold these casts.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32243 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-05 23:43:20 +00:00
Chris Lattner
4d7bd8fe6f new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32210 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-05 01:29:01 +00:00
Devang Patel
67a821d9a3 SCCP does not handle Packed Type properly. Disable Packed Type handling
for now.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32208 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-04 23:54:59 +00:00
Jim Laskey
0b76b0b8dd Purpose of test is lost in upgrade.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32182 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-04 17:54:29 +00:00
Jim Laskey
933ca310d0 Remove debug info.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32181 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-04 17:06:15 +00:00
Reid Spencer
e968dc9847 Upgrade to version 7 bytecode format.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32143 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-03 04:40:09 +00:00
Reid Spencer
2e7e4f2e01 Upgrade intrinsic function calls manually.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32137 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-02 20:41:53 +00:00
Reid Spencer
fdba2cb551 Prevent a GEP from getting upgraded to avoid resulting test failure.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32123 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-02 16:25:20 +00:00
Reid Spencer
7a33f8d7cd Update this test to use llvm-update.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32117 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-02 05:02:46 +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
Chris Lattner
832e1489cc new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32111 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-02 00:12:32 +00:00
Chris Lattner
5dd4391c66 fix incorrectly translated testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32093 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-01 21:38:02 +00:00
Chris Lattner
63edf03fe5 test1 is miscompiled
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32086 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-01 19:50:04 +00:00
Chris Lattner
f0d6dd6006 new 'cast' miscompilation, reduced from perlbmk by Evan
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32079 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-01 19:02:56 +00:00
Chris Lattner
a2f99b63cd new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32061 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-01 05:54:48 +00:00
Reid Spencer
5bab386e7a The InstCombine hack has been removed, no need to XFAIL this any more.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32058 91177308-0d34-0410-b5e6-96231b3b80d8
2006-12-01 01:50:45 +00:00
Chris Lattner
71d8f4d84a new bswap idiom
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32012 91177308-0d34-0410-b5e6-96231b3b80d8
2006-11-29 07:21:08 +00:00
Chris Lattner
6478b2fcd1 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32010 91177308-0d34-0410-b5e6-96231b3b80d8
2006-11-29 07:17:32 +00:00
Chris Lattner
41e2103133 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32008 91177308-0d34-0410-b5e6-96231b3b80d8
2006-11-29 07:03:00 +00:00
Chris Lattner
5b4c958100 new testcase, bswaps should be eliminated.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32005 91177308-0d34-0410-b5e6-96231b3b80d8
2006-11-29 05:00:14 +00:00
Reid Spencer
2c2148bc27 Fix a typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31959 91177308-0d34-0410-b5e6-96231b3b80d8
2006-11-28 06:14:06 +00:00
Chris Lattner
779d212fbd this doesn't pass with CVS HEAD.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31942 91177308-0d34-0410-b5e6-96231b3b80d8
2006-11-27 20:01:48 +00:00
Chris Lattner
f357daf2fe testcase for PR1014
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31939 91177308-0d34-0410-b5e6-96231b3b80d8
2006-11-27 19:47:22 +00:00
Reid Spencer
df2a4ff7d4 Add a test to ensure a bitcast/and/trunc combination eliminates the bitcast.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31934 91177308-0d34-0410-b5e6-96231b3b80d8
2006-11-27 05:06:58 +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
Nick Lewycky
565706b93e Update to new predicate simplifier VRP design. Fixes PR966 and PR967.
Remove predicate simplifier from default gcc3 pipeline. New design is too
slow to enable by default.
Add new testcases for problems encountered in development.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31895 91177308-0d34-0410-b5e6-96231b3b80d8
2006-11-22 23:49:16 +00:00