reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
# RUN: llc -march=amdgcn -run-pass=instruction-select -verify-machineinstrs -o - %s | FileCheck %s -check-prefixes=GCN

---

name:            bitcast
legalized:       true
regBankSelected: true
tracksRegLiveness: true

# GCN-LABEL: name: bitcast
# GCN: [[A:%[0-9]+]]:vgpr_32 = COPY $vgpr0
# GCN: S_ENDPGM 0, implicit [[A]]

body: |
  bb.0:
    liveins: $vgpr0
    %0:vgpr(s32) = COPY $vgpr0
    %1:vgpr(<2 x s16>) = G_BITCAST %0
    %2:vgpr(s32) = G_BITCAST %1
    S_ENDPGM 0, implicit %2
...