1# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2# RUN: llc -mtriple=amdgcn-mesa-mesa3d -mcpu=fiji -run-pass=legalizer %s -o - | FileCheck %s
3
4--- |
5  define void @test_fmul() { ret void }
6...
7
8---
9name:            test_fmul
10registers:
11  - { id: 0, class: _ }
12  - { id: 1, class: _ }
13  - { id: 2, class: _ }
14body: |
15  bb.0:
16    liveins: $vgpr0, $vgpr1
17
18    ; CHECK-LABEL: name: test_fmul
19    ; CHECK: [[COPY:%[0-9]+]]:_(s32) = COPY $vgpr0
20    ; CHECK: [[COPY1:%[0-9]+]]:_(s32) = COPY $vgpr1
21    ; CHECK: [[FMUL:%[0-9]+]]:_(s32) = G_FMUL [[COPY]], [[COPY1]]
22    %0(s32) = COPY $vgpr0
23    %1(s32) = COPY $vgpr1
24    %2(s32) = G_FMUL %0, %1
25    $vgpr0 = COPY %2
26...
27