1 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2 # RUN: llc -march=amdgcn -mcpu=hawaii -run-pass=instruction-select -verify-machineinstrs -o - %s | FileCheck %s
8 tracksRegLiveness: true
14 ; CHECK-LABEL: name: ffloor_s64_vv
15 ; CHECK: liveins: $vgpr0_vgpr1
17 ; CHECK-NEXT: [[COPY:%[0-9]+]]:vreg_64 = COPY $vgpr0_vgpr1
18 ; CHECK-NEXT: %1:vreg_64 = nofpexcept V_FLOOR_F64_e64 0, [[COPY]], 0, 0, implicit $mode, implicit $exec
19 ; CHECK-NEXT: $vgpr0_vgpr1 = COPY %1
20 %0:vgpr(s64) = COPY $vgpr0_vgpr1
21 %1:vgpr(s64) = G_FFLOOR %0
22 $vgpr0_vgpr1 = COPY %1
25 # FIXME: Constant bus restriction
29 # regBankSelected: true
30 # tracksRegLiveness: true
34 # liveins: $sgpr0_sgpr1
36 # %0:sgpr(s64) = COPY $sgpr0_sgpr1
37 # %1:vgpr(s64) = G_FFLOOR %0
38 # $vgpr0_vgpr1 = COPY %1
42 name: ffloor_fneg_s64_vv
45 tracksRegLiveness: true
51 ; CHECK-LABEL: name: ffloor_fneg_s64_vv
52 ; CHECK: liveins: $vgpr0_vgpr1
54 ; CHECK-NEXT: [[COPY:%[0-9]+]]:vreg_64 = COPY $vgpr0_vgpr1
55 ; CHECK-NEXT: %2:vreg_64 = nofpexcept V_FLOOR_F64_e64 1, [[COPY]], 0, 0, implicit $mode, implicit $exec
56 ; CHECK-NEXT: $vgpr0_vgpr1 = COPY %2
57 %0:vgpr(s64) = COPY $vgpr0_vgpr1
58 %1:vgpr(s64) = G_FNEG %0
59 %2:vgpr(s64) = G_FFLOOR %1
60 $vgpr0_vgpr1 = COPY %2