[llvm] 2fe1f84 - [test] Fix llc-start-stop.ll when the default target enables the loop terminator folding pass

Alex Bradbury via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 7 08:08:09 PDT 2024


Author: Alex Bradbury
Date: 2024-10-07T16:06:44+01:00
New Revision: 2fe1f84db379bccbf0a3ac136d063a94b5dc59cb

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

LOG: [test] Fix llc-start-stop.ll when the default target enables the loop terminator folding pass

Previously this would fail if the default target enabled the loop
terminator folding pass (currently just RISC-V), as it runs after loop
strength reduction.

Added: 
    

Modified: 
    llvm/test/CodeGen/Generic/llc-start-stop.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/CodeGen/Generic/llc-start-stop.ll b/llvm/test/CodeGen/Generic/llc-start-stop.ll
index b02472473a00cb..942c5d0020f27a 100644
--- a/llvm/test/CodeGen/Generic/llc-start-stop.ll
+++ b/llvm/test/CodeGen/Generic/llc-start-stop.ll
@@ -27,7 +27,7 @@
 ; START-BEFORE: -machine-branch-prob -regalloc-evict -regalloc-priority -domtree
 ; START-BEFORE: FunctionPass Manager
 ; START-BEFORE: Loop Strength Reduction
-; START-BEFORE-NEXT: Basic Alias Analysis (stateless AA impl)
+; START-BEFORE-NEXT: {{Loop Terminator Folding|Basic Alias Analysis \(stateless AA impl\)}}
 
 ; RUN: not --crash llc < %s -start-before=nonexistent -o /dev/null 2>&1 | FileCheck %s -check-prefix=NONEXISTENT-START-BEFORE
 ; RUN: not --crash llc < %s -stop-before=nonexistent -o /dev/null 2>&1 | FileCheck %s -check-prefix=NONEXISTENT-STOP-BEFORE


        


More information about the llvm-commits mailing list