[llvm] 72e8c9b - [CodeGen] Move llc-start-stop.ll test to X86 (#190151)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 2 04:04:34 PDT 2026
Author: Nikita Popov
Date: 2026-04-02T13:04:29+02:00
New Revision: 72e8c9b78f01439d34cbd05ed8d269a2758834de
URL: https://github.com/llvm/llvm-project/commit/72e8c9b78f01439d34cbd05ed8d269a2758834de
DIFF: https://github.com/llvm/llvm-project/commit/72e8c9b78f01439d34cbd05ed8d269a2758834de.diff
LOG: [CodeGen] Move llc-start-stop.ll test to X86 (#190151)
The pass pipeline differs across targets, so make this test use
one specific pipeline, instead of trying to cater to cross-target
differences. Those differences are not relevant to the intent of
the test.
Added:
llvm/test/CodeGen/X86/llc-start-stop.ll
Modified:
Removed:
llvm/test/CodeGen/Generic/llc-start-stop.ll
################################################################################
diff --git a/llvm/test/CodeGen/Generic/llc-start-stop.ll b/llvm/test/CodeGen/X86/llc-start-stop.ll
similarity index 92%
rename from llvm/test/CodeGen/Generic/llc-start-stop.ll
rename to llvm/test/CodeGen/X86/llc-start-stop.ll
index bca7b410de06b..b9e5de51e5169 100644
--- a/llvm/test/CodeGen/Generic/llc-start-stop.ll
+++ b/llvm/test/CodeGen/X86/llc-start-stop.ll
@@ -1,6 +1,3 @@
-; NVPTX customizes the list of passes so the test cannot find what it expects
-; XFAIL: target=nvptx{{.*}}
-
; Note: -verify-machineinstrs is used in order to make this test compatible with EXPENSIVE_CHECKS.
; RUN: llc < %s -debug-pass=Structure -stop-after=loop-reduce -verify-machineinstrs -o /dev/null 2>&1 \
; RUN: | FileCheck %s -check-prefix=STOP-AFTER
@@ -27,7 +24,7 @@
; START-BEFORE: -machine-branch-prob -regalloc-evict -regalloc-priority -domtree
; START-BEFORE: FunctionPass Manager
; START-BEFORE: Loop Strength Reduction
-; START-BEFORE-NEXT: {{Loop Terminator Folding|Lower Garbage Collection Instructions}}
+; START-BEFORE-NEXT: Lower Garbage Collection Instructions
; RUN: not llc < %s -start-before=nonexistent -o /dev/null 2>&1 | FileCheck %s -check-prefix=NONEXISTENT-START-BEFORE
; RUN: not llc < %s -stop-before=nonexistent -o /dev/null 2>&1 | FileCheck %s -check-prefix=NONEXISTENT-STOP-BEFORE
@@ -42,3 +39,5 @@
; RUN: not llc < %s -stop-before=loop-reduce -stop-after=loop-reduce -o /dev/null 2>&1 | FileCheck %s -check-prefix=DOUBLE-STOP
; DOUBLE-START: start-before and start-after specified!
; DOUBLE-STOP: stop-before and stop-after specified!
+
+target triple = "x86_64-unknown-linux-gnu"
More information about the llvm-commits
mailing list