[mlgo] More wildcarding in extra features logging for regalloc
authorMircea Trofin <mtrofin@google.com>
Tue, 25 Oct 2022 15:19:58 +0000 (08:19 -0700)
committerMircea Trofin <mtrofin@google.com>
Tue, 25 Oct 2022 15:20:55 +0000 (08:20 -0700)
May need a different testing approach for opcodes.

llvm/test/CodeGen/MLRegalloc/dev-mode-extra-features-logging.ll

index c25e77b..2111d8c 100644 (file)
@@ -32,8 +32,8 @@
 ; Check the first five opcodes in the first eviction problem
 ; CHECK-NEXT: value: 19
 ; CHECK-SAME: value: {{([0-9]{4})}}
-; CHECK-SAME: value: 1245
-; CHECK-SAME: value: 1264
+; CHECK-SAME: value: 12{{([0-9]{2})}}
+; CHECK-SAME: value: 12{{([0-9]{2})}}
 ; The first eviction problem is significantly less than 300 instructions. Check
 ; that there is a zero value
 ; CHECK-SAME: value: 0