brintos

brintos / llvm-project-archived public Read only

0
0
Text · 777 B · e7fc19e Raw
23 lines · plain
1# RUN: not --crash llc -mtriple=amdgcn -run-pass machineverifier %s -o - 2>&1 | FileCheck %s2# RUN: not --crash llc -mtriple=amdgcn --passes='machine-function(verify)' %s -o - 2>&1 | FileCheck %s3 4# CHECK: *** Bad machine code: SOP2/SOPC instruction requires too many immediate constants5# CHECK: - instruction: %0:sreg_32_xm0 = S_ADD_I326 7# CHECK: *** Bad machine code: SOP2/SOPC instruction requires too many immediate constants8# CHECK: - instruction: S_CMP_EQ_U329 10# CHECK-NOT: Bad machine code11 12---13name: sop2_sopc14tracksRegLiveness: true15body: |16  bb.0:17    %0:sreg_32_xm0 = S_ADD_I32 2011, -113, implicit-def $scc18    S_CMP_EQ_U32 2011, -113, implicit-def $scc19 20    %1:sreg_32_xm0 = S_SUB_I32 2011, 10, implicit-def $scc21    S_CMP_LG_U32 -5, 2011, implicit-def $scc22...23