2 # RUN: not --crash llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 -run-pass=machine-cse -o /dev/null %s 2>&1 | FileCheck -check-prefixes=ERR,ERR-LEGACY %s
3 # RUN: not --crash llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 -passes=machine-cse -o /dev/null %s 2>&1 | FileCheck -check-prefixes=ERR,ERR-NPM %s
5 # ERR-LEGACY: MachineFunctionProperties required by Machine Common Subexpression Elimination pass are not met by function not_ssa.
6 # ERR-NPM: MachineFunctionProperties required by MachineCSEPass pass are not met by function not_ssa.
7 # ERR: Required properties: IsSSA
8 # ERR-NEXT: Current properties: NoPHIs
14 %0:sgpr_32 = S_MOV_B32 0
15 %0:sgpr_32 = S_MOV_B32 1
16 S_ENDPGM 0, implicit %0