Relax newly added opcode check to check only for a number instead of a specific opcode.
authorDouglas Yung <douglas.yung@sony.com>
Fri, 2 Jul 2021 06:08:48 +0000 (23:08 -0700)
committerDouglas Yung <douglas.yung@sony.com>
Fri, 2 Jul 2021 06:09:25 +0000 (23:09 -0700)
llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir

index bb18a95..f9a92b1 100644 (file)
 # DEBUG-NEXT: .. opcode {{[0-9]+}} is aliased to {{[0-9]+}}
 # DEBUG-NEXT: .. type index coverage check SKIPPED: user-defined predicate detected
 # DEBUG-NEXT: .. imm index coverage check SKIPPED: user-defined predicate detected
-# DEBUG-NEXT: G_MEMCPY_INLINE (opcode 219): 3 type indices, 0 imm indices
+# DEBUG-NEXT: G_MEMCPY_INLINE (opcode {{[0-9]+}}): 3 type indices, 0 imm indices
 # DEBUG-NEXT: .. type index coverage check SKIPPED: no rules defined
 # DEBUG-NEXT: .. imm index coverage check SKIPPED: no rules defined
 # DEBUG-NEXT: G_MEMMOVE (opcode {{[0-9]+}}): 3 type indices, 1 imm index