[llvm] 8764f46 - [mlgo] Make regalloc extra features logging test more robust
Mircea Trofin via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 21 18:50:42 PDT 2022
Author: Mircea Trofin
Date: 2022-10-21T18:49:29-07:00
New Revision: 8764f461d994871b4f09f145380dffe77c68d1a3
URL: https://github.com/llvm/llvm-project/commit/8764f461d994871b4f09f145380dffe77c68d1a3
DIFF: https://github.com/llvm/llvm-project/commit/8764f461d994871b4f09f145380dffe77c68d1a3.diff
LOG: [mlgo] Make regalloc extra features logging test more robust
One of the first few instructions being probed has an opcode that's more
likely to change with work on X86 target, so just regexp-ing it.
Added:
Modified:
llvm/test/CodeGen/MLRegalloc/dev-mode-extra-features-logging.ll
Removed:
################################################################################
diff --git a/llvm/test/CodeGen/MLRegalloc/dev-mode-extra-features-logging.ll b/llvm/test/CodeGen/MLRegalloc/dev-mode-extra-features-logging.ll
index 0dad4ea2670a..c25e77b38b75 100644
--- a/llvm/test/CodeGen/MLRegalloc/dev-mode-extra-features-logging.ll
+++ b/llvm/test/CodeGen/MLRegalloc/dev-mode-extra-features-logging.ll
@@ -31,7 +31,7 @@
; CHECK-LABEL: key: \"instructions\"
; Check the first five opcodes in the first eviction problem
; CHECK-NEXT: value: 19
-; CHECK-SAME: value: 3034
+; CHECK-SAME: value: {{([0-9]{4})}}
; CHECK-SAME: value: 1245
; CHECK-SAME: value: 1264
; The first eviction problem is significantly less than 300 instructions. Check
More information about the llvm-commits
mailing list