15 lines · plain
1# RUN: llc -mtriple=amdgcn -run-pass si-fold-operands -verify-machineinstrs -o - %s | FileCheck %s2---3# Make sure there is no crash when trying to fold an immediate into an4# implicit use5 6# CHECK: %0:vgpr_32 = V_MOV_B32_e32 0, implicit $exec7# CHECK-NEXT: S_ENDPGM 0, implicit %08name: fold_imm_implicit_operand9body: |10 bb.0:11 %0:vgpr_32 = V_MOV_B32_e32 0, implicit $exec12 S_ENDPGM 0, implicit %013 14...15