You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
422 B
15 lines
422 B
4 months ago
|
# RUN: llc -march=amdgcn -run-pass si-fold-operands -verify-machineinstrs -o - %s | FileCheck %s
|
||
|
---
|
||
|
# Make sure there is no crash when trying to fold an immediate into an
|
||
|
# implicit use
|
||
|
|
||
|
# CHECK: %0:vgpr_32 = V_MOV_B32_e32 0, implicit $exec
|
||
|
# CHECK-NEXT: S_ENDPGM 0, implicit %0
|
||
|
name: fold_imm_implicit_operand
|
||
|
body: |
|
||
|
bb.0:
|
||
|
%0:vgpr_32 = V_MOV_B32_e32 0, implicit $exec
|
||
|
S_ENDPGM 0, implicit %0
|
||
|
|
||
|
...
|