1# REQUIRES: asserts
2# RUN: not --crash llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 -run-pass=machine-cse -o /dev/null %s 2>&1 | FileCheck -check-prefix=ERR %s
3
4# ERR: MachineFunctionProperties required by Machine Common Subexpression Elimination pass are not met by function not_ssa.
5# ERR-NEXT: Required properties: IsSSA
6# ERR-NEXT: Current properties: NoPHIs
7
8---
9name: not_ssa
10body: |
11  bb.0:
12    %0:sgpr_32 = S_MOV_B32 0
13    %0:sgpr_32 = S_MOV_B32 1
14    S_ENDPGM 0, implicit %0
15...
16