[InstCombine] Signed saturation patterns
[llvm-complete.git] / test / CodeGen / AMDGPU / fold-implicit-operand.mir
blobfbd921dac9aadeed25d94297a07d287da27aa1bf
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
6 # CHECK: %0:vgpr_32 = V_MOV_B32_e32 0, implicit $exec
7 # CHECK-NEXT: S_ENDPGM 0, implicit %0
8 name: fold_imm_implicit_operand
9 body:             |
10   bb.0:
11     %0:vgpr_32 = V_MOV_B32_e32 0, implicit $exec
12     S_ENDPGM 0, implicit %0
14 ...