mirror of
https://github.com/intel/llvm.git
synced 2026-01-14 11:57:39 +08:00
[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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user