12 lines · plain
1; Note: The exact error messages aren't important here, but are included to catch2; anything changing.3; RUN: not --crash llc -global-isel=0 -mtriple=amdgcn -mcpu=gfx900 -filetype=null < %s 2>&1 | FileCheck %s --check-prefix=SDAG4; 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=GISEL6; GISEL: LLVM ERROR: Cannot implicitly convert a scalable size to a fixed-width size in `TypeSize::operator ScalarTy()`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 void11}12