1 # RUN: not --crash llc -mtriple=amdgcn -run-pass machineverifier %s -o - 2>&1 | FileCheck %s
2 # RUN: not --crash llc -mtriple=amdgcn --passes='machine-function(verify)' %s -o - 2>&1 | FileCheck %s
4 # CHECK: *** Bad machine code: SOP2/SOPC instruction requires too many immediate constants
5 # CHECK: - instruction: %0:sreg_32_xm0 = S_ADD_I32
7 # CHECK: *** Bad machine code: SOP2/SOPC instruction requires too many immediate constants
8 # CHECK: - instruction: S_CMP_EQ_U32
10 # CHECK-NOT: Bad machine code
14 tracksRegLiveness: true
17 %0:sreg_32_xm0 = S_ADD_I32 2011, -113, implicit-def $scc
18 S_CMP_EQ_U32 2011, -113, implicit-def $scc
20 %1:sreg_32_xm0 = S_SUB_I32 2011, 10, implicit-def $scc
21 S_CMP_LG_U32 -5, 2011, implicit-def $scc