aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/FunctionResolve/retmismatch2.ll
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-02-05 20:47:22 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-02-05 20:47:22 +0000
commitef9b9a793949469cdaa4ab6d0173136229dcab7b (patch)
tree137b30d24ba219e5e745a11abb3807a9c4964aaa /test/Transforms/FunctionResolve/retmismatch2.ll
parent15468bfc22302b4f79300252425d74cd6865f8b1 (diff)
downloadexternal_llvm-ef9b9a793949469cdaa4ab6d0173136229dcab7b.zip
external_llvm-ef9b9a793949469cdaa4ab6d0173136229dcab7b.tar.gz
external_llvm-ef9b9a793949469cdaa4ab6d0173136229dcab7b.tar.bz2
For PR411:
This patch replaces the SymbolTable class with ValueSymbolTable which does not support types planes. This means that all symbol names in LLVM must now be unique. The patch addresses the necessary changes to deal with this and removes code no longer needed as a result. This completes the bulk of the changes for this PR. Some cleanup patches will follow. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33918 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/FunctionResolve/retmismatch2.ll')
-rw-r--r--test/Transforms/FunctionResolve/retmismatch2.ll15
1 files changed, 0 insertions, 15 deletions
diff --git a/test/Transforms/FunctionResolve/retmismatch2.ll b/test/Transforms/FunctionResolve/retmismatch2.ll
deleted file mode 100644
index 749ca40..0000000
--- a/test/Transforms/FunctionResolve/retmismatch2.ll
+++ /dev/null
@@ -1,15 +0,0 @@
-; This shows where the function is called with the prototype indicating a
-; return type doesn't exists, but it really does.
-;
-; RUN: llvm-upgrade < %s | llvm-as | opt -funcresolve -instcombine | llvm-dis | grep '\.\.\.' | not grep call
-
-declare void %foo(...)
-
-int %foo(int %x, float %y) {
- ret int %x
-}
-
-int %bar() {
- call void (...)* %foo(double 12.5, int 48)
- ret int 6
-}