AMDGPU: Relax test check on tablegen debug output

Try to match tN and pointer for asserts and non-assert builds.
This commit is contained in:
Matt Arsenault 2022-04-13 14:31:39 -04:00
parent fa5a4e1b95
commit e78f70bccb
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
; RUN: not --crash llc -global-isel=0 -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 -o /dev/null %s 2>&1 | FileCheck -check-prefix=SDAG %s
; RUN: not --crash llc -global-isel=1 -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 -o /dev/null %s 2>&1 | FileCheck -check-prefix=GISEL %s
; SDAG: LLVM ERROR: Cannot select: t{{[0-9]+}}: ch = store<(store (s32) into %ir.ptr.load, addrspace 4)>
; SDAG: LLVM ERROR: Cannot select: {{[a-z0-9]+}}: ch = store<(store (s32) into %ir.ptr.load, addrspace 4)>
; GISEL: LLVM ERROR: cannot select: G_STORE %{{[0-9]+}}:vgpr(s32), %{{[0-9]+}}:vgpr(p4) :: (store (s32) into %ir.ptr.load, addrspace 4) (in function: store_to_constant_i32)
define amdgpu_kernel void @store_to_constant_i32(i32 addrspace(4)* %ptr) {
bb: