You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.205
Former-commit-id: 7f59f7e792705db773f1caecdaa823092f4e2927
This commit is contained in:
parent
5cd5df71cc
commit
8e12397d70
18
external/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.fdiv.fast.ll
vendored
Normal file
18
external/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.fdiv.fast.ll
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
; RUN: llc -march=amdgcn -verify-machineinstrs < %s | FileCheck %s
|
||||
|
||||
declare float @llvm.amdgcn.fdiv.fast(float, float) #0
|
||||
|
||||
; CHECK-LABEL: {{^}}test_fdiv_fast:
|
||||
; CHECK: v_cndmask_b32_e32 v{{[0-9]+}}, 1.0, v{{[0-9]+}}, vcc
|
||||
; CHECK: v_mul_f32_e32
|
||||
; CHECK: v_rcp_f32_e32
|
||||
; CHECK: v_mul_f32_e32
|
||||
; CHECK: v_mul_f32_e32
|
||||
define amdgpu_kernel void @test_fdiv_fast(float addrspace(1)* %out, float %a, float %b) #1 {
|
||||
%fdiv = call float @llvm.amdgcn.fdiv.fast(float %a, float %b)
|
||||
store float %fdiv, float addrspace(1)* %out
|
||||
ret void
|
||||
}
|
||||
|
||||
attributes #0 = { nounwind readnone }
|
||||
attributes #1 = { nounwind }
|
Reference in New Issue
Block a user