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.

21 lines
621 B

# RUN: llc -mtriple=amdgcn-amd-amdhsa -verify-machineinstrs -run-pass=si-lower-sgpr-spills -o - %s | FileCheck %s
# CHECK-LABEL: name: empty_entry_block
# CHECK: V_WRITELANE
# CHECK-NEXT: V_WRITELANE
# CHECK-NEXT: V_WRITELANE
# CHECK-NEXT: V_WRITELANE
# CHECK: V_READLANE
# CHECK-NEXT: V_READLANE
# CHECK-NEXT: V_READLANE
# CHECK-NEXT: V_READLANE
---
name: empty_entry_block
body: |
bb.0:
bb.1:
renamable $sgpr36_sgpr37 = S_XOR_B64 renamable $vcc, -1, implicit-def dead $scc
$sgpr34_sgpr35 = S_AND_SAVEEXEC_B64 $sgpr36_sgpr37, implicit-def $exec, implicit-def $scc, implicit $exec
S_ENDPGM 0