Commit Graph

31741 Commits

Author SHA1 Message Date
Lauro Ramos Venancio
b1d58a5281 Fix align test.
llvm-svn: 36140
2007-04-16 16:57:47 +00:00
Reid Spencer
78d71f168c Don't return 0 if the len == 5, let the assert handle that case.
Thanks, Chris.

llvm-svn: 36139
2007-04-16 16:56:54 +00:00
Duncan Sands
17a2ef6803 Look for site.exp in the build directory, not the source directory.
llvm-svn: 36138
2007-04-16 16:45:12 +00:00
Duncan Sands
c68668f27c Use %s, not explicit name.
llvm-svn: 36136
2007-04-16 16:06:17 +00:00
Duncan Sands
389439c7c5 Change ne into !=.
llvm-svn: 36135
2007-04-16 15:37:00 +00:00
Reid Spencer
4dcf8bff4b For PR1319:
Fix syntax of tests to ensure grep pattern is properly quoted.

llvm-svn: 36134
2007-04-16 15:31:49 +00:00
Reid Spencer
86f337eeda For PR1319:
Fix test syntax per new rules.

llvm-svn: 36133
2007-04-16 15:15:52 +00:00
Reid Spencer
e7df634b3d Fix the syntax for these tests. Noticed by Duncan Sands.
llvm-svn: 36132
2007-04-16 15:00:39 +00:00
Reid Spencer
c6ee811cc2 Syntax upgrade and fix for PR1336.
llvm-svn: 36131
2007-04-16 14:46:17 +00:00
Reid Spencer
15326fa114 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
b100325547 For PR1336:
Ignore case for instruction mnemonic comparison.

llvm-svn: 36129
2007-04-16 14:20:28 +00:00
Reid Spencer
5203d296c6 Wrap long line.
llvm-svn: 36128
2007-04-16 14:17:04 +00:00
Reid Spencer
0c1a31c92f For PR1336:
Ignore case for register name compare.

llvm-svn: 36127
2007-04-16 14:14:31 +00:00
Reid Spencer
fb458caf44 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
19c0217d99 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
085b45e1f1 Fix typos.
llvm-svn: 36124
2007-04-16 13:02:27 +00:00
Reid Spencer
c5f397a26f Fix test/CodeGen/Generic/vector-constantexpr.ll
llvm-svn: 36123
2007-04-16 07:08:44 +00:00
Reid Spencer
e6a50a1e27 Regenerate.
llvm-svn: 36122
2007-04-16 06:56:07 +00:00
Reid Spencer
94bae69764 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
9c2eec377e 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
f400745e7f Test case for PR1328.
llvm-svn: 36119
2007-04-16 06:52:21 +00:00
Chris Lattner
79d25c3440 make this test more portable.
llvm-svn: 36118
2007-04-16 06:14:28 +00:00
Chris Lattner
ae2d5291b5 fix incorrectly upgraded test
llvm-svn: 36117
2007-04-16 06:10:47 +00:00
Chris Lattner
aacfb36bd5 remove a bogus test
llvm-svn: 36116
2007-04-16 06:06:42 +00:00
Chris Lattner
5df90f03b9 update test
llvm-svn: 36115
2007-04-16 06:04:03 +00:00
Chris Lattner
b21b885cdf fix incorrectly upgraded test, add PR#
llvm-svn: 36114
2007-04-16 05:58:47 +00:00
Reid Spencer
00d0023fb4 This needs to stay in the old bytecode format.
llvm-svn: 36113
2007-04-16 03:35:24 +00:00
Reid Spencer
a136852ade 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
cfe9ad10d1 Update for 2.0 bytecode format.
llvm-svn: 36111
2007-04-16 03:28:07 +00:00
Reid Spencer
1db9157b4e Fix an intrinsic name.
llvm-svn: 36110
2007-04-16 03:20:22 +00:00
Reid Spencer
c7c991f4f8 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
4b4055a1ab For PR1336:
Upgrade the intrinsic to its new form.

llvm-svn: 36108
2007-04-16 03:10:56 +00:00
Reid Spencer
c940d0761c 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
52e4e91284 Regenerate.
llvm-svn: 36106
2007-04-16 03:05:01 +00:00
Reid Spencer
78dffdc5d1 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
caaf8a1597 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
3da4004c34 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
a3cfb8a683 Revert last patch. It was already fixed.
llvm-svn: 36102
2007-04-16 02:24:41 +00:00
Reid Spencer
2875d2eadc 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
f0cb944fd3 For PR1336:
Un-XFAIL this now that its working.

llvm-svn: 36100
2007-04-16 01:49:16 +00:00
Reid Spencer
8be22e4e04 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
59d3ca99b6 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
e3dbe62579 For PR1336:
De-XFAIL tests now passing.

llvm-svn: 36097
2007-04-16 00:41:11 +00:00
Reid Spencer
4f7e511a8e Regenerate.
llvm-svn: 36096
2007-04-16 00:40:57 +00:00
Reid Spencer
19a0ff01f9 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
f064c92298 Tabs -> Spaces
llvm-svn: 36094
2007-04-15 23:14:18 +00:00
Reid Spencer
6584cf60f2 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
b964f00d6a For PR1319: Upgrade to new test harness.
llvm-svn: 36092
2007-04-15 22:37:04 +00:00
Reid Spencer
1c75ef2ce2 For PR1319: Upgrade to new test harness.
llvm-svn: 36091
2007-04-15 22:20:47 +00:00
Chris Lattner
343c88cdb9 Fix PR1335 and Transforms/Inline/2007-04-15-InlineEH.ll
llvm-svn: 36090
2007-04-15 21:38:06 +00:00