You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.225
Former-commit-id: 10196d987d5fc5564b9d3b33b1fdf13190f4d0b5
This commit is contained in:
parent
32d52ae4ca
commit
f32dbaf0b2
14
external/llvm/test/CodeGen/AMDGPU/floor.ll
vendored
Normal file
14
external/llvm/test/CodeGen/AMDGPU/floor.ll
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
; RUN: llc -march=r600 -mcpu=redwood < %s | FileCheck %s
|
||||
|
||||
; CHECK: FLOOR * T{{[0-9]+\.[XYZW], T[0-9]+\.[XYZW]}}
|
||||
define amdgpu_ps void @test(<4 x float> inreg %reg0) {
|
||||
%r0 = extractelement <4 x float> %reg0, i32 0
|
||||
%r1 = call float @floor(float %r0)
|
||||
%vec = insertelement <4 x float> undef, float %r1, i32 0
|
||||
call void @llvm.r600.store.swizzle(<4 x float> %vec, i32 0, i32 0)
|
||||
ret void
|
||||
}
|
||||
|
||||
declare float @floor(float) readonly
|
||||
declare void @llvm.r600.store.swizzle(<4 x float>, i32, i32)
|
||||
|
Reference in New Issue
Block a user