blob: 4dec859f0bad3b6f526f2e1f30baabbce6b2e7ee [file] [log] [blame]
Matt Arsenaultc908e3f2018-02-08 01:12:46 +00001# 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 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 implicit %0
13
14...