summaryrefslogtreecommitdiffstats
path: root/test/Assembler/2006-05-26-VarargsCallEncode.ll
diff options
context:
space:
mode:
authorTanya Lattner <tonic@nondot.org>2007-11-28 04:57:00 +0000
committerTanya Lattner <tonic@nondot.org>2007-11-28 04:57:00 +0000
commit727842e9d76680a49616083fed0e812ae209aff8 (patch)
tree022ce83bac251c30f6439d30d8e2c2098e689943 /test/Assembler/2006-05-26-VarargsCallEncode.ll
parentcada245d06959831b90f8c29f92e77beda4b71cb (diff)
downloadexternal_llvm-727842e9d76680a49616083fed0e812ae209aff8.zip
external_llvm-727842e9d76680a49616083fed0e812ae209aff8.tar.gz
external_llvm-727842e9d76680a49616083fed0e812ae209aff8.tar.bz2
Fix bug in regression tests that ignored stderr output in RUN lines. Updated tests and fixed broken run lines.
XFAILed 3 arm regressions (will file bugs) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44389 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Assembler/2006-05-26-VarargsCallEncode.ll')
-rw-r--r--test/Assembler/2006-05-26-VarargsCallEncode.ll11
1 files changed, 5 insertions, 6 deletions
diff --git a/test/Assembler/2006-05-26-VarargsCallEncode.ll b/test/Assembler/2006-05-26-VarargsCallEncode.ll
index c36bcfa..bfa4343 100644
--- a/test/Assembler/2006-05-26-VarargsCallEncode.ll
+++ b/test/Assembler/2006-05-26-VarargsCallEncode.ll
@@ -1,9 +1,8 @@
-; RUN: llvm-upgrade < %s | llvm-as | llvm-dis | \
-; RUN: grep {tail call void.*sret null}
+; RUN: llvm-as < %s | llvm-dis | grep {tail call void.*sret null}
-declare csretcc void %foo({}*, ...)
+declare void @foo({ }* sret , ...)
-void %bar() {
- tail call csretcc void({}*, ...)* %foo({}* null, int 0)
- ret void
+define void @bar() {
+ tail call void ({ }* sret , ...)* @foo( { }* null sret , i32 0 )
+ ret void
}