Revert LoopStrengthReduce.cpp to pre-r94061 for now.
[oota-llvm.git] / test / CodeGen / Thumb2 / 2009-08-06-SpDecBug.ll
1 ; RUN: llc < %s -mtriple=thumbv7-none-linux-gnueabi | FileCheck %s
2 ; PR4659
3 ; PR4682
4
5 define hidden arm_aapcscc i32 @__gcov_execlp(i8* %path, i8* %arg, ...) nounwind {
6 entry:
7 ; CHECK: __gcov_execlp:
8 ; CHECK: mov sp, r7
9 ; CHECK: sub sp, #4
10         call arm_aapcscc  void @__gcov_flush() nounwind
11         br i1 undef, label %bb5, label %bb
12
13 bb:             ; preds = %bb, %entry
14         br i1 undef, label %bb5, label %bb
15
16 bb5:            ; preds = %bb, %entry
17         %0 = alloca i8*, i32 undef, align 4             ; <i8**> [#uses=1]
18         %1 = call arm_aapcscc  i32 @execvp(i8* %path, i8** %0) nounwind         ; <i32> [#uses=1]
19         ret i32 %1
20 }
21
22 declare hidden arm_aapcscc void @__gcov_flush()
23
24 declare arm_aapcscc i32 @execvp(i8*, i8**) nounwind