[llvm] [AMDGPU] Add missing assert requirement to unit test (PR #181102)
Lucas Ramirez via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 12 00:24:31 PST 2026
https://github.com/lucas-rami created https://github.com/llvm/llvm-project/pull/181102
`-debug-only` is only available when asserts are enabled.
>From 1f4963a4fc05e38b959aa83e82cf7f9e268fef8b Mon Sep 17 00:00:00 2001
From: Lucas Ramirez <lucas.rami at proton.me>
Date: Thu, 12 Feb 2026 08:21:32 +0000
Subject: [PATCH] Add missing REQUIRES
---
llvm/test/CodeGen/AMDGPU/misched-remat-revert.ll | 1 +
1 file changed, 1 insertion(+)
diff --git a/llvm/test/CodeGen/AMDGPU/misched-remat-revert.ll b/llvm/test/CodeGen/AMDGPU/misched-remat-revert.ll
index 36df258ec5ab3..30f149de74e60 100644
--- a/llvm/test/CodeGen/AMDGPU/misched-remat-revert.ll
+++ b/llvm/test/CodeGen/AMDGPU/misched-remat-revert.ll
@@ -1,4 +1,5 @@
; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx942 -O3 -debug-only=machine-scheduler 2>&1 < %s | FileCheck -check-prefix=DEBUG %s
+; REQUIRES: asserts
; This testcase hit a situation where reverting scheduling after the scheduler's
; rematerialization stage would cause incoherent MI and slot orders, hitting an
More information about the llvm-commits
mailing list