1 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2 # RUN: llc -march=amdgcn -mcpu=fiji -run-pass=regbankselect %s -verify-machineinstrs -o - -regbankselect-fast | FileCheck %s
3 # RUN: llc -march=amdgcn -mcpu=fiji -run-pass=regbankselect %s -verify-machineinstrs -o - -regbankselect-greedy | FileCheck %s
6 name: extract_lo32_i64_s
12 ; CHECK-LABEL: name: extract_lo32_i64_s
13 ; CHECK: [[COPY:%[0-9]+]]:sgpr(s64) = COPY $sgpr0_sgpr1
14 ; CHECK: [[EXTRACT:%[0-9]+]]:sgpr(s32) = G_EXTRACT [[COPY]](s64), 0
15 %0:_(s64) = COPY $sgpr0_sgpr1
16 %1:_(s32) = G_EXTRACT %0, 0
20 name: extract_lo32_i64_v
26 ; CHECK-LABEL: name: extract_lo32_i64_v
27 ; CHECK: [[COPY:%[0-9]+]]:vgpr(s64) = COPY $vgpr0_vgpr1
28 ; CHECK: [[EXTRACT:%[0-9]+]]:vgpr(s32) = G_EXTRACT [[COPY]](s64), 0
29 %0:_(s64) = COPY $vgpr0_vgpr1
30 %1:_(s32) = G_EXTRACT %0, 0