[llvm] 1e2ed8a - [MLGO] Update MLRegAlloc Test

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 31 13:39:20 PDT 2025


Author: Aiden Grossman
Date: 2025-10-31T20:39:12Z
New Revision: 1e2ed8a5861a304d42214fc48c1fa1b9211b3540

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

LOG: [MLGO] Update MLRegAlloc Test

This was broken by 5322fb6268208a8fc031fb13573dac9729d05db6. Update the
test to be a little more resilient to flaky failures and to pass after
those changes. We should probably delete this now that we have MIR2Vec,
but punting that for now.

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 bd8d882cda39b..9dd402d13b8e0 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: 20,{{([0-9]{4})}},1{{([0-9]{3})}},2{{([0-9]{3})}},{{.*}},0,
+; CHECK: instructions: 20,{{([0-9]{4})}},{{([0-9]{4})}},{{([0-9]{4})}},{{.*}},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