From e78f70bccb8919d74bbbe492aa2fb0eb230b7467 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Wed, 13 Apr 2022 14:31:39 -0400 Subject: [PATCH] AMDGPU: Relax test check on tablegen debug output Try to match tN and pointer for asserts and non-assert builds. --- llvm/test/CodeGen/AMDGPU/store-to-constant-error.ll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/test/CodeGen/AMDGPU/store-to-constant-error.ll b/llvm/test/CodeGen/AMDGPU/store-to-constant-error.ll index 80758b2de3a1..819f90acb02c 100644 --- a/llvm/test/CodeGen/AMDGPU/store-to-constant-error.ll +++ b/llvm/test/CodeGen/AMDGPU/store-to-constant-error.ll @@ -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: