annotate llvm/test/CodeGen/AMDGPU/llvm.amdgcn.fdiv.fast.ll @ 206:f17a3b42b08b

Added tag before-12 for changeset b7591485f4cd
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 07 Jun 2021 21:25:57 +0900
parents 1d019706d866
children 1f2b6ac9f198
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 ; RUN: llc -march=amdgcn -verify-machineinstrs < %s | FileCheck %s
anatofuz
parents:
diff changeset
2
anatofuz
parents:
diff changeset
3 declare float @llvm.amdgcn.fdiv.fast(float, float) #0
anatofuz
parents:
diff changeset
4
anatofuz
parents:
diff changeset
5 ; CHECK-LABEL: {{^}}test_fdiv_fast:
anatofuz
parents:
diff changeset
6 ; CHECK: v_cndmask_b32_e32 v{{[0-9]+}}, 1.0, v{{[0-9]+}}, vcc
anatofuz
parents:
diff changeset
7 ; CHECK: v_mul_f32_e32
anatofuz
parents:
diff changeset
8 ; CHECK: v_rcp_f32_e32
anatofuz
parents:
diff changeset
9 ; CHECK: v_mul_f32_e32
anatofuz
parents:
diff changeset
10 ; CHECK: v_mul_f32_e32
anatofuz
parents:
diff changeset
11 define amdgpu_kernel void @test_fdiv_fast(float addrspace(1)* %out, float %a, float %b) #1 {
anatofuz
parents:
diff changeset
12 %fdiv = call float @llvm.amdgcn.fdiv.fast(float %a, float %b)
anatofuz
parents:
diff changeset
13 store float %fdiv, float addrspace(1)* %out
anatofuz
parents:
diff changeset
14 ret void
anatofuz
parents:
diff changeset
15 }
anatofuz
parents:
diff changeset
16
anatofuz
parents:
diff changeset
17 attributes #0 = { nounwind readnone }
anatofuz
parents:
diff changeset
18 attributes #1 = { nounwind }