AMDGPU: Add REQUIRES: asserts to machine pass violation test

We should promote this to a proper error and not llvm_unreachable
This commit is contained in:
Matt Arsenault 2025-03-18 07:30:51 +07:00 committed by Matt Arsenault
parent 94426df66a
commit 092e25571c

View File

@ -1,3 +1,4 @@
# REQUIRES: asserts
# RUN: not --crash llc -mtriple=amdgcn -mcpu=gfx900 -run-pass=si-fold-operands -filetype=null %s 2>&1 | FileCheck -check-prefixes=ERR-LEGACY,ERR %s
# RUN: not --crash llc -mtriple=amdgcn -mcpu=gfx900 -passes=si-fold-operands -filetype=null %s 2>&1 | FileCheck -check-prefixes=ERR-NPM,ERR %s