aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/ARM/vararg_no_start.ll
blob: f9c8c1b754662dd1a100894ecbffc509d00bed45 (plain)
1
2
3
4
5
6
7
8
9
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