[llvm] 5b30750 - [AMDGPU] Readd assertions requirement to test after #170468

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 3 18:25:01 PST 2025


Author: Aiden Grossman
Date: 2025-12-04T02:24:52Z
New Revision: 5b30750893ce3e005c5b1f7da963ab0adcf4cb61

URL: https://github.com/llvm/llvm-project/commit/5b30750893ce3e005c5b1f7da963ab0adcf4cb61
DIFF: https://github.com/llvm/llvm-project/commit/5b30750893ce3e005c5b1f7da963ab0adcf4cb61.diff

LOG: [AMDGPU] Readd assertions requirement to test after #170468

This was removed in #170468 now that debug counters are enabled by
default rather than requiring asserts. This AMDGPU test exercises
functionality in SIInsertWaitcnts.cpp that is fully wrapped in NDEBUG
though, so this test still needs an assertions requirement to pass.

Added: 
    

Modified: 
    llvm/test/CodeGen/AMDGPU/waitcnt-debug.mir

Removed: 
    


################################################################################
diff  --git a/llvm/test/CodeGen/AMDGPU/waitcnt-debug.mir b/llvm/test/CodeGen/AMDGPU/waitcnt-debug.mir
index eeca220b9e260..0e3656b498d33 100644
--- a/llvm/test/CodeGen/AMDGPU/waitcnt-debug.mir
+++ b/llvm/test/CodeGen/AMDGPU/waitcnt-debug.mir
@@ -1,3 +1,4 @@
+# REQUIRES: asserts
 # RUN: llc -mtriple=amdgcn -verify-machineinstrs -run-pass si-insert-waitcnts -debug-counter=si-insert-waitcnts-forcelgkm=0 -o - %s | FileCheck -check-prefixes=GCN,LGKM %s
 # RUN: llc -mtriple=amdgcn -verify-machineinstrs -run-pass si-insert-waitcnts -debug-counter=si-insert-waitcnts-forceexp=0-1 -o - %s | FileCheck -check-prefixes=GCN,EXP %s
 # RUN: llc -mtriple=amdgcn -verify-machineinstrs -run-pass si-insert-waitcnts -debug-counter=si-insert-waitcnts-forcevm=0-2 -o - %s | FileCheck -check-prefixes=GCN,VM %s


        


More information about the llvm-commits mailing list