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
Chris Lattner
d3fd9ecb2d
testcase for PR1335
...
llvm-svn: 36089
2007-04-15 21:37:53 +00:00
Chris Lattner
a9ce1c0130
this test isn't testing what it thought it was
...
llvm-svn: 36088
2007-04-15 21:33:36 +00:00
Reid Spencer
297657d6e6
For PR1319: Upgrade to new test harness.
...
llvm-svn: 36087
2007-04-15 21:17:45 +00:00
Reid Spencer
ff8169f5cb
For PR1319: Upgrade to new test harness.
...
llvm-svn: 36086
2007-04-15 20:48:50 +00:00
Reid Spencer
25cdea0579
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
cf94fb9d7b
For PR1319: Upgrade to new test harness.
...
llvm-svn: 36084
2007-04-15 20:41:31 +00:00
Reid Spencer
d033c77ea3
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
Reid Spencer
2baeaae8f4
For PR1319: Upgrade to new test harness.
...
llvm-svn: 36082
2007-04-15 20:08:37 +00:00
Chris Lattner
cad61e81c1
Fix a nasty bug introduced when apint'ified. This fixes
...
Transforms/IndVarsSimplify/exit_value_tests.llx
llvm-svn: 36081
2007-04-15 19:52:49 +00:00
Reid Spencer
0318670cf3
For PR1319: Upgrade to new test harness.
...
llvm-svn: 36080
2007-04-15 19:35:51 +00:00
Reid Spencer
a5626e787f
Make this test work.
...
llvm-svn: 36079
2007-04-15 19:28:23 +00:00
Reid Spencer
8f4cf19075
We don't need the path to be set for llvmgcc/llvmgxx any more.
...
llvm-svn: 36078
2007-04-15 19:27:27 +00:00
Reid Spencer
41dc9beb80
For PR1319: Upgrade to use new test harness
...
llvm-svn: 36077
2007-04-15 19:21:54 +00:00
Reid Spencer
b5dc70c270
For PR1319: Upgrade to use new test harness
...
llvm-svn: 36076
2007-04-15 19:11:47 +00:00
Reid Spencer
d1f8369090
For PR1319: Upgrade to use new test harness
...
llvm-svn: 36075
2007-04-15 18:40:57 +00:00
Reid Spencer
3d18d852d2
Allow lines that have \ and end in \ to be recognized as ending in \
...
llvm-svn: 36074
2007-04-15 18:38:42 +00:00
Reid Spencer
6c38d94201
For PR1319: Upgrade to new test harness
...
llvm-svn: 36073
2007-04-15 18:11:57 +00:00
Nick Lewycky
5dff5ed7f7
Fix this test to test what it was intended to test.
...
llvm-svn: 36072
2007-04-15 13:14:33 +00:00