ec9cf8d95019cd7be1b38a2ce99559437b4e735d
[oota-llvm.git] / test / CodeGen / ARM / fast-isel-crash.ll
1 ; RUN: llc < %s -O0 -verify-machineinstrs -fast-isel-abort -mtriple=thumbv7-apple-darwin
2 ; RUN: llc < %s -O0 -verify-machineinstrs -fast-isel-abort -mtriple=thumbv7-linux-gnueabi
3
4 %union.anon = type { <16 x i32> }
5
6 @__md0 = external global [137 x i8]
7
8 define internal void @stretch(<4 x i8> addrspace(1)* %src, <4 x i8> addrspace(1)* %dst, i32 %width, i32 %height, i32 %iLS, i32 %oLS, <2 x float> %c, <4 x float> %param) nounwind {
9 entry:
10   ret void
11 }
12
13 define internal i32 @_Z13get_global_idj(i32 %dim) nounwind ssp {
14 entry:
15   ret i32 undef
16 }
17
18 define void @wrap(i8 addrspace(1)* addrspace(1)* %arglist, i32 addrspace(1)* %gtid) nounwind ssp {
19 entry:
20   call void @stretch(<4 x i8> addrspace(1)* undef, <4 x i8> addrspace(1)* undef, i32 undef, i32 undef, i32 undef, i32 undef, <2 x float> undef, <4 x float> undef)
21   ret void
22 }