1# RUN: llc -march=amdgcn -run-pass=instruction-select -verify-machineinstrs -global-isel %s -o - | FileCheck %s -check-prefixes=GCN 2 3--- | 4 define amdgpu_kernel void @fmul(i32 addrspace(1)* %global0) {ret void} 5... 6--- 7 8name: fmul 9legalized: true 10regBankSelected: true 11 12# GCN-LABEL: name: fmul 13body: | 14 bb.0: 15 liveins: $sgpr0, $vgpr0, $vgpr1, $vgpr3_vgpr4 16 %0:sgpr(s32) = COPY $sgpr0 17 %1:vgpr(s32) = COPY $vgpr0 18 %2:vgpr(s32) = COPY $vgpr1 19 %3:vgpr(s64) = COPY $vgpr3_vgpr4 20 21 ; fmul vs 22 ; GCN: V_MUL_F32_e64 23 %4:vgpr(s32) = G_FMUL %1, %0 24 25 ; fmul sv 26 ; GCN: V_MUL_F32_e64 27 %5:vgpr(s32) = G_FMUL %0, %1 28 29 ; fmul vv 30 ; GCN: V_MUL_F32_e64 31 %6:vgpr(s32) = G_FMUL %1, %2 32 33 G_STORE %4, %3 :: (store 4 into %ir.global0) 34 G_STORE %5, %3 :: (store 4 into %ir.global0) 35 G_STORE %6, %3 :: (store 4 into %ir.global0) 36... 37--- 38