1; RUN: llc < %s -O0 -verify-machineinstrs -fast-isel-abort=1 -mtriple=powerpc64-unknown-linux-gnu -mcpu=pwr7 2; RUN: llc < %s -O0 -verify-machineinstrs -fast-isel-abort=1 -mtriple=powerpc64-ibm-aix-xcoff -mcpu=pwr7 3 4; Ensure this doesn't crash. 5 6%union.anon = type { <16 x i32> } 7 8@__md0 = external global [137 x i8] 9 10define 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 { 11entry: 12 ret void 13} 14 15define internal i32 @_Z13get_global_idj(i32 %dim) nounwind { 16entry: 17 ret i32 undef 18} 19 20define void @wrap(ptr addrspace(1) %arglist, ptr addrspace(1) %gtid) nounwind { 21entry: 22 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) 23 ret void 24} 25