1# RUN: llc -march=amdgcn -run-pass si-fold-operands -verify-machineinstrs -o - %s | FileCheck %s 2--- 3# Make sure there is no crash when trying to fold an immediate into an 4# implicit use 5 6# CHECK: %0:vgpr_32 = V_MOV_B32_e32 0, implicit $exec 7# CHECK-NEXT: S_ENDPGM 0, implicit %0 8name: fold_imm_implicit_operand 9body: | 10 bb.0: 11 %0:vgpr_32 = V_MOV_B32_e32 0, implicit $exec 12 S_ENDPGM 0, implicit %0 13 14... 15