[llvm] 3727ca3 - Relax opcode checks in test for G_READCYCLECOUNTER to check for only a number instead of a specific number.

Douglas Yung via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 9 17:17:12 PST 2020


Author: Douglas Yung
Date: 2020-01-09T17:16:52-08:00
New Revision: 3727ca313783e23696caeae53c688409555ab0fc

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

LOG: Relax opcode checks in test for G_READCYCLECOUNTER to check for only a number instead of a specific number.

Added: 
    

Modified: 
    llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir

Removed: 
    


################################################################################
diff  --git a/llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir b/llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir
index bd8c550e831e..8ee9342e5c62 100644
--- a/llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir
+++ b/llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir
@@ -125,7 +125,7 @@
 # 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_READCYCLECOUNTER (opcode 61): 1 type index, 0 imm indices
+# DEBUG-NEXT: G_READCYCLECOUNTER (opcode {{[0-9]+}}): 1 type index, 0 imm indices
 # DEBUG-NEXT: .. type index coverage check SKIPPED: no rules defined
 # DEBUG-NEXT: .. imm index coverage check SKIPPED: no rules defined
 


        


More information about the llvm-commits mailing list