[AMDGPU] Add missing assert requirement to unit test (#181102)

`-debug-only` is only available when asserts are enabled. The test
currently fails on builds without asserts.
This commit is contained in:
Lucas Ramirez 2026-02-12 09:53:26 +01:00 committed by GitHub
parent 36dbe537c4
commit efab96c6e9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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