[llvm] e78f70b - AMDGPU: Relax test check on tablegen debug output

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 13 12:34:33 PDT 2022


Author: Matt Arsenault
Date: 2022-04-13T15:00:18-04:00
New Revision: e78f70bccb8919d74bbbe492aa2fb0eb230b7467

URL: https://github.com/llvm/llvm-project/commit/e78f70bccb8919d74bbbe492aa2fb0eb230b7467
DIFF: https://github.com/llvm/llvm-project/commit/e78f70bccb8919d74bbbe492aa2fb0eb230b7467.diff

LOG: AMDGPU: Relax test check on tablegen debug output

Try to match tN and pointer for asserts and non-assert builds.

Added: 
    

Modified: 
    llvm/test/CodeGen/AMDGPU/store-to-constant-error.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/CodeGen/AMDGPU/store-to-constant-error.ll b/llvm/test/CodeGen/AMDGPU/store-to-constant-error.ll
index 80758b2de3a1c..819f90acb02c7 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:


        


More information about the llvm-commits mailing list