[llvm] [Codegen] Relax start stop test so riscv passes (PR #190171)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 2 06:18:37 PDT 2026
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-backend-x86
Author: Gabriel Baraldi (gbaraldi)
<details>
<summary>Changes</summary>
Since https://github.com/llvm/llvm-project/pull/77370 this test fails in riscv. That's because it runs Loop Terminator Folding and the next check is then wrong
---
Full diff: https://github.com/llvm/llvm-project/pull/190171.diff
1 Files Affected:
- (modified) llvm/test/CodeGen/X86/llc-start-stop.ll (+1-1)
``````````diff
diff --git a/llvm/test/CodeGen/X86/llc-start-stop.ll b/llvm/test/CodeGen/X86/llc-start-stop.ll
index b9e5de51e5169..5c6fec65c8bac 100644
--- a/llvm/test/CodeGen/X86/llc-start-stop.ll
+++ b/llvm/test/CodeGen/X86/llc-start-stop.ll
@@ -18,7 +18,7 @@
; RUN: llc < %s -debug-pass=Structure -start-after=loop-reduce -o /dev/null 2>&1 | FileCheck %s -check-prefix=START-AFTER
; START-AFTER: -gc-lowering
; START-AFTER: FunctionPass Manager
-; START-AFTER-NEXT: Lower Garbage Collection Instructions
+; START-AFTER: Lower Garbage Collection Instructions
; RUN: llc < %s -debug-pass=Structure -start-before=loop-reduce -o /dev/null 2>&1 | FileCheck %s -check-prefix=START-BEFORE
; START-BEFORE: -machine-branch-prob -regalloc-evict -regalloc-priority -domtree
``````````
</details>
https://github.com/llvm/llvm-project/pull/190171
More information about the llvm-commits
mailing list