Skip to content

Commit 092e255

Browse files
committed
AMDGPU: Add REQUIRES: asserts to machine pass violation test
We should promote this to a proper error and not llvm_unreachable
1 parent 94426df commit 092e255

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/test/CodeGen/AMDGPU/si-fold-operands-requires-ssa.mir

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# REQUIRES: asserts
12
# 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
23
# RUN: not --crash llc -mtriple=amdgcn -mcpu=gfx900 -passes=si-fold-operands -filetype=null %s 2>&1 | FileCheck -check-prefixes=ERR-NPM,ERR %s
34

0 commit comments

Comments
 (0)