1 ; RUN: llc < %s -mtriple=thumbv7-none-linux-gnueabi -arm-atomic-cfg-tidy=0 | FileCheck %s
5 define hidden i32 @__gcov_execlp(ptr %path, ptr %arg, ...) nounwind {
7 ; CHECK-LABEL: __gcov_execlp:
10 ; CHECK: add r7, sp, #8
11 ; CHECK: sub.w r4, r7, #8
13 ; CHECK-NOT: mov sp, r7
15 call void @__gcov_flush() nounwind
16 call void @llvm.va_start(ptr null)
17 br i1 undef, label %bb5, label %bb
19 bb: ; preds = %bb, %entry
20 br i1 undef, label %bb5, label %bb
22 bb5: ; preds = %bb, %entry
23 %0 = alloca ptr, i32 undef, align 4 ; <ptr> [#uses=1]
24 %1 = call i32 @execvp(ptr %path, ptr %0) nounwind ; <i32> [#uses=1]
28 declare hidden void @__gcov_flush()
30 declare i32 @execvp(ptr, ptr) nounwind
32 declare void @llvm.va_start(ptr) nounwind