1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
Commit Graph

31636 Commits

Author SHA1 Message Date
Reid Spencer
2b15a8c212 Fix the syntax for these tests. Noticed by Duncan Sands.
llvm-svn: 36132
2007-04-16 15:00:39 +00:00
Reid Spencer
73bdce8950 Syntax upgrade and fix for PR1336.
llvm-svn: 36131
2007-04-16 14:46:17 +00:00
Reid Spencer
8e4a595f77 For PR1336:
Rename test functions to not conflict with an instruction mnemonic.

llvm-svn: 36130
2007-04-16 14:23:07 +00:00
Reid Spencer
bb43799aa9 For PR1336:
Ignore case for instruction mnemonic comparison.

llvm-svn: 36129
2007-04-16 14:20:28 +00:00
Reid Spencer
37e4686e85 Wrap long line.
llvm-svn: 36128
2007-04-16 14:17:04 +00:00
Reid Spencer
92d0a986ea For PR1336:
Ignore case for register name compare.

llvm-svn: 36127
2007-04-16 14:14:31 +00:00
Reid Spencer
2cc50a23a4 For PR1336:
Un-XFAIL as Alpha feature now specified in lower case.

llvm-svn: 36126
2007-04-16 14:07:53 +00:00
Reid Spencer
969393b105 For PR1336:
Subtarget option names must be given in lower case in order to be
recognized. Fixes test/CodeGen/Alpha/ctlz.ll

llvm-svn: 36125
2007-04-16 14:06:19 +00:00
Duncan Sands
d34a3b9173 Fix typos.
llvm-svn: 36124
2007-04-16 13:02:27 +00:00
Reid Spencer
4b8e900991 Fix test/CodeGen/Generic/vector-constantexpr.ll
llvm-svn: 36123
2007-04-16 07:08:44 +00:00
Reid Spencer
67f5aa847c Regenerate.
llvm-svn: 36122
2007-04-16 06:56:07 +00:00
Reid Spencer
408e427abf For PR1328:
Use the new parameter on Function::getIntrinsicID to identify cases where
a function is being called with an "llvm." name but it isn't actually an
intrinsic. In such cases generate an error.

llvm-svn: 36121
2007-04-16 06:55:42 +00:00
Reid Spencer
f12ab5a55b For PR1328:
Don't assert everytime an intrinsic name isn't recognized. Instead, make
the assert optional when callin getIntrinsicID(). This allows the assembler
to handle invalid intrinsic names gracefully.

llvm-svn: 36120
2007-04-16 06:54:34 +00:00
Reid Spencer
22afcce51b Test case for PR1328.
llvm-svn: 36119
2007-04-16 06:52:21 +00:00
Chris Lattner
fa6d6d5547 make this test more portable.
llvm-svn: 36118
2007-04-16 06:14:28 +00:00
Chris Lattner
40aaa7ff4f fix incorrectly upgraded test
llvm-svn: 36117
2007-04-16 06:10:47 +00:00
Chris Lattner
aed1ab601f remove a bogus test
llvm-svn: 36116
2007-04-16 06:06:42 +00:00
Chris Lattner
8a42bd823e update test
llvm-svn: 36115
2007-04-16 06:04:03 +00:00
Chris Lattner
842a99ced1 fix incorrectly upgraded test, add PR#
llvm-svn: 36114
2007-04-16 05:58:47 +00:00
Reid Spencer
89fe89e8d5 This needs to stay in the old bytecode format.
llvm-svn: 36113
2007-04-16 03:35:24 +00:00
Reid Spencer
9920337e38 This tests aren't particularly interesting. They are redundant with the
extract_* tests. They are also perniciously difficult to maintain because
they depend on the bytecode format.

llvm-svn: 36112
2007-04-16 03:34:01 +00:00
Reid Spencer
234b0e933a Update for 2.0 bytecode format.
llvm-svn: 36111
2007-04-16 03:28:07 +00:00
Reid Spencer
06c1806166 Fix an intrinsic name.
llvm-svn: 36110
2007-04-16 03:20:22 +00:00
Reid Spencer
419dcddb2d For PR1336:
Rename the intrinsic so this can be upgraded properly. It still fails with
an llc warning

llvm-svn: 36109
2007-04-16 03:18:25 +00:00
Reid Spencer
e652d49c05 For PR1336:
Upgrade the intrinsic to its new form.

llvm-svn: 36108
2007-04-16 03:10:56 +00:00
Reid Spencer
ac781b1f94 For PR1336:
Un-XFAIL this test now that llvm-ugprade knows how to create functions with
empty names.

llvm-svn: 36107
2007-04-16 03:06:39 +00:00
Reid Spencer
19a7c47328 Regenerate.
llvm-svn: 36106
2007-04-16 03:05:01 +00:00
Reid Spencer
35f2799915 For PR1336:
Functions without names deserve to be created too. This fixes:
test/CodeGen/Generic/vector-constantexpr.ll

llvm-svn: 36105
2007-04-16 03:04:13 +00:00
Reid Spencer
3d9542cb7b For PR1336:
Un-XFAIL this since it now passes with fix to llvm-upgrade.

llvm-svn: 36104
2007-04-16 02:57:47 +00:00
Reid Spencer
15a5b3e2b2 For PR1336:
When upgrading global vars, look for conflicts with functions as well. This
fixes test/Transforms/GlobalDCE/2002-08-17-FunctionDGE.ll

llvm-svn: 36103
2007-04-16 02:56:33 +00:00
Reid Spencer
85f055a567 Revert last patch. It was already fixed.
llvm-svn: 36102
2007-04-16 02:24:41 +00:00
Reid Spencer
4fdd2f1411 For PR1336:
Correct this test case. It was passing a uint where a ubyte was expected.

llvm-svn: 36101
2007-04-16 02:09:24 +00:00
Reid Spencer
840a3d1b41 For PR1336:
Un-XFAIL this now that its working.

llvm-svn: 36100
2007-04-16 01:49:16 +00:00
Reid Spencer
e411fd1f10 For PR1336:
Fix a div-by-zero bug noticed by APInt. This fixes:
test/Transforms/IndVarsSimplify/exit_value_tests.llx

llvm-svn: 36099
2007-04-16 01:48:37 +00:00
Reid Spencer
ade540a97e For PR1336:
This test was failing because of signlessness and a difference in the
way the AsmWriter prints arguments.

llvm-svn: 36098
2007-04-16 01:31:11 +00:00
Reid Spencer
7b1de4b863 For PR1336:
De-XFAIL tests now passing.

llvm-svn: 36097
2007-04-16 00:41:11 +00:00
Reid Spencer
499c46e182 Regenerate.
llvm-svn: 36096
2007-04-16 00:40:57 +00:00
Reid Spencer
4d7295a38c For PR1336:
Rewrite the upgrade of GEP indices to be a little less obtuse. This fixes
test/Assembler/2002-08-19-BytecodeReader.llx
test/Assembler/2003-08-21-ConstantExprCast-Fold.llx
test/Assembler/2004-01-11-getelementptrfolding.llx

llvm-svn: 36095
2007-04-16 00:39:39 +00:00
Owen Anderson
b371956400 Tabs -> Spaces
llvm-svn: 36094
2007-04-15 23:14:18 +00:00
Reid Spencer
8f0fe6f2cf For PR1336:
XFAIL tests covered by the PR. These will be un-XFAILed as they are fixed.

llvm-svn: 36093
2007-04-15 23:00:46 +00:00
Reid Spencer
6ddb18a685 For PR1319: Upgrade to new test harness.
llvm-svn: 36092
2007-04-15 22:37:04 +00:00
Reid Spencer
9d19c17dab For PR1319: Upgrade to new test harness.
llvm-svn: 36091
2007-04-15 22:20:47 +00:00
Chris Lattner
601aa5b489 Fix PR1335 and Transforms/Inline/2007-04-15-InlineEH.ll
llvm-svn: 36090
2007-04-15 21:38:06 +00:00
Chris Lattner
9978b3f476 testcase for PR1335
llvm-svn: 36089
2007-04-15 21:37:53 +00:00
Chris Lattner
49c74d2ff7 this test isn't testing what it thought it was
llvm-svn: 36088
2007-04-15 21:33:36 +00:00
Reid Spencer
e5e75c56db For PR1319: Upgrade to new test harness.
llvm-svn: 36087
2007-04-15 21:17:45 +00:00
Reid Spencer
47d1aeeb51 For PR1319: Upgrade to new test harness.
llvm-svn: 36086
2007-04-15 20:48:50 +00:00
Reid Spencer
3d7ba2fb96 Two changes:
1. Don't bother truncating reading of the file. It doesn't save that much
   time and we should support putting RUN lines anywhere in the file. For
   example, someone might want to put the grep match before each function
   in the test file which would sprinkle the RUN: lines throughout the file.
2. Fix a bug with llvmgcc version match .. global var wasn't declared as such

llvm-svn: 36085
2007-04-15 20:43:36 +00:00
Reid Spencer
5647b43e74 For PR1319: Upgrade to new test harness.
llvm-svn: 36084
2007-04-15 20:41:31 +00:00
Reid Spencer
2d25f3f7b5 Some tests have really long RUN line sets. Read the first 4096 bytes instead
of 1024.

llvm-svn: 36083
2007-04-15 20:31:42 +00:00