Skip to content

[SystemZ] Add missing asserts requirement for pre-RA sched mir tests#205403

Merged
zmodem merged 1 commit into
llvm:mainfrom
yueshe:fix_clang_test
Jun 23, 2026
Merged

[SystemZ] Add missing asserts requirement for pre-RA sched mir tests#205403
zmodem merged 1 commit into
llvm:mainfrom
yueshe:fix_clang_test

Conversation

@yueshe

@yueshe yueshe commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

This is based off #188823 and is needed because tests are failing in release (non-asserts) builds

@llvmorg-github-actions

Copy link
Copy Markdown

@llvm/pr-subscribers-backend-systemz

Author: yueshe

Changes

This is based off #188823 and is needed because tests are failing in release (non-asserts) builds


Full diff: https://github.com/llvm/llvm-project/pull/205403.diff

2 Files Affected:

  • (modified) llvm/test/CodeGen/SystemZ/misched-prera-loads.mir (+1)
  • (modified) llvm/test/CodeGen/SystemZ/misched-prera-pdiffs.mir (+1)
diff --git a/llvm/test/CodeGen/SystemZ/misched-prera-loads.mir b/llvm/test/CodeGen/SystemZ/misched-prera-loads.mir
index ef4b3a19cb781..af38362fd199a 100644
--- a/llvm/test/CodeGen/SystemZ/misched-prera-loads.mir
+++ b/llvm/test/CodeGen/SystemZ/misched-prera-loads.mir
@@ -1,6 +1,7 @@
 # RUN: llc -o - %s -mtriple=s390x-linux-gnu -mcpu=z17 -verify-machineinstrs \
 # RUN:   -run-pass=machine-scheduler -debug-only=machine-scheduler \
 # RUN:   2>&1 | FileCheck %s
+# REQUIRES: asserts
 
 --- |
 
diff --git a/llvm/test/CodeGen/SystemZ/misched-prera-pdiffs.mir b/llvm/test/CodeGen/SystemZ/misched-prera-pdiffs.mir
index 048c7fa203e07..49dd546929daf 100644
--- a/llvm/test/CodeGen/SystemZ/misched-prera-pdiffs.mir
+++ b/llvm/test/CodeGen/SystemZ/misched-prera-pdiffs.mir
@@ -1,6 +1,7 @@
 # RUN: llc -o - %s -mtriple=s390x-linux-gnu -mcpu=z16 -verify-machineinstrs \
 # RUN:   -run-pass=machine-scheduler -debug-only=machine-scheduler 2>&1\
 # RUN:   | FileCheck %s
+# REQUIRES: asserts
 
 # Some tests for Pressure Diffs of scheduling units. Each interesting register
 # class is used in a def-use sequence and the initial Pressure Diff of each SU

@zmodem zmodem enabled auto-merge (squash) June 23, 2026 18:42
@zmodem zmodem merged commit dcec4dd into llvm:main Jun 23, 2026
12 of 13 checks passed
@yueshe yueshe deleted the fix_clang_test branch June 23, 2026 19:27
beamandala pushed a commit to beamandala/llvm-project that referenced this pull request Jun 24, 2026
…lvm#205403)

This is based off llvm#188823 and
is needed because tests are failing in release (non-asserts) builds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants