Skip to content

Commit 2fe1f84

Browse files
committed
[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.
1 parent 8565213 commit 2fe1f84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
; START-BEFORE: -machine-branch-prob -regalloc-evict -regalloc-priority -domtree
2828
; START-BEFORE: FunctionPass Manager
2929
; START-BEFORE: Loop Strength Reduction
30-
; START-BEFORE-NEXT: Basic Alias Analysis (stateless AA impl)
30+
; START-BEFORE-NEXT: {{Loop Terminator Folding|Basic Alias Analysis \(stateless AA impl\)}}
3131

3232
; RUN: not --crash llc < %s -start-before=nonexistent -o /dev/null 2>&1 | FileCheck %s -check-prefix=NONEXISTENT-START-BEFORE
3333
; RUN: not --crash llc < %s -stop-before=nonexistent -o /dev/null 2>&1 | FileCheck %s -check-prefix=NONEXISTENT-STOP-BEFORE

0 commit comments

Comments
 (0)