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 3 4# CHECK: *** Bad machine code: SOP2/SOPC instruction requires too many immediate constants 5# CHECK: - instruction: %0:sreg_32_xm0 = S_ADD_I32 6 7# CHECK: *** Bad machine code: SOP2/SOPC instruction requires too many immediate constants 8# CHECK: - instruction: S_CMP_EQ_U32 9 10# CHECK-NOT: Bad machine code 11 12--- 13name: sop2_sopc 14tracksRegLiveness: true 15body: | 16 bb.0: 17 %0:sreg_32_xm0 = S_ADD_I32 2011, -113, implicit-def $scc 18 S_CMP_EQ_U32 2011, -113, implicit-def $scc 19 20 %1:sreg_32_xm0 = S_SUB_I32 2011, 10, implicit-def $scc 21 S_CMP_LG_U32 -5, 2011, implicit-def $scc 22... 23