1; RUN: llc < %s -march=thumb -mcpu=arm1022e
2
3%iterator = type { i8**, i8**, i8**, i8*** }
4%insert_iterator = type { %deque*, %iterator }
5%deque = type { %iterator, %iterator, i8***, i32 }
6
7define i32 @test_thumbv5e_fp_elim() nounwind optsize {
8entry:
9  %var1 = alloca %iterator, align 4
10  %var2 = alloca %insert_iterator, align 4
11  %var3 = alloca %deque, align 4
12
13  %0 = bitcast %deque* %var3 to i8*
14  %1 = bitcast %iterator* %var1 to i8*
15  call void @llvm.lifetime.start(i64 16, i8* %1) nounwind
16  call void @llvm.memcpy.p0i8.p0i8.i32(i8* %1, i8* %0, i32 16, i32 4, i1 false)
17  call void @llvm.lifetime.end(i64 16, i8* %1) nounwind
18
19  %2 = bitcast %insert_iterator* %var2 to i8*
20  call void @llvm.lifetime.start(i64 20, i8* %2) nounwind
21
22  ret i32 0
23}
24
25declare void @llvm.memcpy.p0i8.p0i8.i32(i8* nocapture, i8* nocapture, i32, i32, i1) nounwind
26
27declare void @llvm.lifetime.start(i64, i8* nocapture) nounwind
28
29declare void @llvm.lifetime.end(i64, i8* nocapture) nounwind
30