summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authortstellar <tstellar@91177308-0d34-0410-b5e6-96231b3b80d8>2012-10-15 20:53:45 +0000
committertstellar <tstellar@91177308-0d34-0410-b5e6-96231b3b80d8>2012-10-15 20:53:45 +0000
commitdeb888ce53c17afd33f52433e49ba21b62ddba1d (patch)
tree62107f5bbda2c3c2e607385eac333cb62c271fca /test
parent20439c985b27f6151d8c4dad45090e7cda20dc7a (diff)
R600: use floor intrinsic instead of llvm.AMDIL.floor
Patch by: Vincent Lejeune Reviewed-by: Tom Stellard <thomas.stellard@amd.com> git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/R600/@165970 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/CodeGen/R600/floor.ll (renamed from test/CodeGen/R600/llvm.AMDGPU.floor.ll)4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/R600/llvm.AMDGPU.floor.ll b/test/CodeGen/R600/floor.ll
index a96419dde2..845330f284 100644
--- a/test/CodeGen/R600/llvm.AMDGPU.floor.ll
+++ b/test/CodeGen/R600/floor.ll
@@ -4,7 +4,7 @@
define void @test() {
%r0 = call float @llvm.R600.load.input(i32 0)
- %r1 = call float @llvm.AMDGPU.floor( float %r0)
+ %r1 = call float @floor(float %r0)
call void @llvm.AMDGPU.store.output(float %r1, i32 0)
ret void
}
@@ -13,4 +13,4 @@ declare float @llvm.R600.load.input(i32) readnone
declare void @llvm.AMDGPU.store.output(float, i32)
-declare float @llvm.AMDGPU.floor(float ) readnone
+declare float @floor(float) readonly