[Codegen] Relax start stop test so riscv passes#190171
Closed
gbaraldi wants to merge 1 commit into
Closed
Conversation
…s. Riscv runs Loop Terminator Folding so it's slightly different
Member
|
@llvm/pr-subscribers-backend-x86 Author: Gabriel Baraldi (gbaraldi) ChangesSince #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:
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
|
Contributor
Author
|
Oh I just saw #190151 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Since #77370 this test fails in riscv. That's because it runs Loop Terminator Folding and the next check is then wrong