[llvm] c49965b - [mlgo] Fix post PR #76919

Mircea Trofin via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 5 09:14:05 PST 2024


Author: Mircea Trofin
Date: 2024-01-05T09:10:03-08:00
New Revision: c49965b97e159b7ff92a5fca3e144b2d2574a84d

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

LOG: [mlgo] Fix post PR #76919

Relaxed a bit the opcode checks to make the test less sensitive to
changes resulting in opcode numbering.

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 98cf234d83a209..79be2447abcff9 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.


        


More information about the llvm-commits mailing list