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