1; Note: The exact error messages aren't important here, but are included to catch 2; anything changing. 3; RUN: not --crash llc -global-isel=0 -mtriple=amdgcn -mcpu=gfx900 -filetype=null < %s 2>&1 | FileCheck %s --check-prefix=SDAG 4; SDAG: LLVM ERROR: Scalarization of scalable vectors is not supported. 5; RUN: not --crash llc -global-isel=1 -mtriple=amdgcn -mcpu=gfx900 -filetype=null < %s 2>&1 | FileCheck %s --check-prefix=GISEL 6; GISEL: LLVM ERROR: Invalid size request on a scalable vector. 7 8define void @buffer_store_nxv2i32(ptr addrspace(8) inreg %rsrc, i32 %offset) { 9 call void @llvm.amdgcn.raw.ptr.buffer.store.nxv2i32(<vscale x 2 x i32> poison, ptr addrspace(8) %rsrc, i32 %offset, i32 0, i32 0) 10 ret void 11} 12