summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMircea Trofin <mtrofin@google.com>2024-01-05 09:10:03 -0800
committerMircea Trofin <mtrofin@google.com>2024-01-05 09:10:03 -0800
commitc49965b97e159b7ff92a5fca3e144b2d2574a84d (patch)
tree7256fd923f617f4883e17b371afadc98935f2c1a
parent59567e711d262813b6708f1a242433a401c03e9f (diff)
[mlgo] Fix post PR #76919
Relaxed a bit the opcode checks to make the test less sensitive to changes resulting in opcode numbering.
-rw-r--r--llvm/test/CodeGen/MLRegAlloc/dev-mode-extra-features-logging.ll2
1 files changed, 1 insertions, 1 deletions
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 98cf234d83a2..79be2447abcf 100644
--- a/llvm/test/CodeGen/MLRegAlloc/dev-mode-extra-features-logging.ll
+++ b/llvm/test/CodeGen/MLRegAlloc/dev-mode-extra-features-logging.ll
@@ -26,7 +26,7 @@
; Also, the first eviction problem is significantly less than 300 instructions. Check
; that there is a zero value.
; Note: we're regex-ing some of the opcodes to avoid test flakyness.
-; CHECK: instructions: 19,{{([0-9]{4})}},17{{([0-9]{2})}},17{{([0-9]{2})}},{{.*}},0,
+; CHECK: instructions: 19,{{([0-9]{4})}},1{{([0-9]{3})}},1{{([0-9]{3})}},{{.*}},0,
; Only the candidate virtreg and the 10th LR are included in this problem. Make
; sure the other LRs have values of zero. There are 2700 0s followed by some 1s.
; There's a limit to how many repetitions can be matched.