summaryrefslogtreecommitdiff
path: root/test/Assembler/2006-05-26-VarargsCallEncode.ll
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2007-11-27 13:23:08 +0000
committerDuncan Sands <baldrick@free.fr>2007-11-27 13:23:08 +0000
commitdc024674ff96820d6020757b48d47f46d4c07db2 (patch)
tree843dfcaeb8f6c99de930a32020148b563005c2fd /test/Assembler/2006-05-26-VarargsCallEncode.ll
parentf19341dec7361451f100a882a023b14583454d7e (diff)
downloadllvm-dc024674ff96820d6020757b48d47f46d4c07db2.tar.gz
llvm-dc024674ff96820d6020757b48d47f46d4c07db2.tar.bz2
llvm-dc024674ff96820d6020757b48d47f46d4c07db2.tar.xz
Fix PR1146: parameter attributes are longer part of
the function type, instead they belong to functions and function calls. This is an updated and slightly corrected version of Reid Spencer's original patch. The only known problem is that auto-upgrading of bitcode files doesn't seem to work properly (see test/Bitcode/AutoUpgradeIntrinsics.ll). Hopefully a bitcode guru (who might that be? :) ) will fix it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44359 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Assembler/2006-05-26-VarargsCallEncode.ll')
-rw-r--r--test/Assembler/2006-05-26-VarargsCallEncode.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Assembler/2006-05-26-VarargsCallEncode.ll b/test/Assembler/2006-05-26-VarargsCallEncode.ll
index c87b19d3d3..c36bcfa220 100644
--- a/test/Assembler/2006-05-26-VarargsCallEncode.ll
+++ b/test/Assembler/2006-05-26-VarargsCallEncode.ll
@@ -1,5 +1,5 @@
; RUN: llvm-upgrade < %s | llvm-as | llvm-dis | \
-; RUN: grep {tail call void (\{ \}\\* sret}
+; RUN: grep {tail call void.*sret null}
declare csretcc void %foo({}*, ...)