diff options
Diffstat (limited to 'llvm/test/CodeGen/ARM/vararg_no_start.ll')
-rw-r--r-- | llvm/test/CodeGen/ARM/vararg_no_start.ll | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/ARM/vararg_no_start.ll b/llvm/test/CodeGen/ARM/vararg_no_start.ll new file mode 100644 index 00000000000..f9c8c1b7546 --- /dev/null +++ b/llvm/test/CodeGen/ARM/vararg_no_start.ll @@ -0,0 +1,10 @@ +; RUN: llc -mtriple=arm-darwin < %s | FileCheck %s +; RUN: llc -O0 -mtriple=arm-darwin < %s | FileCheck %s + +define void @foo(i8*, ...) { + ret void +} +; CHECK-LABEL: {{^_?}}foo: +; CHECK-NOT: str +; CHECK: {{bx lr|mov pc, lr}} +declare void @llvm.va_start(i8*) nounwind |