summaryrefslogtreecommitdiff
path: root/lib/Target/AMDGPU/R600Instructions.td
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 /lib/Target/AMDGPU/R600Instructions.td
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 'lib/Target/AMDGPU/R600Instructions.td')
-rw-r--r--lib/Target/AMDGPU/R600Instructions.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/AMDGPU/R600Instructions.td b/lib/Target/AMDGPU/R600Instructions.td
index 40e83e8e32..4ce256d129 100644
--- a/lib/Target/AMDGPU/R600Instructions.td
+++ b/lib/Target/AMDGPU/R600Instructions.td
@@ -405,7 +405,7 @@ def RNDNE : R600_1OP <
def FLOOR : R600_1OP <
0x14, "FLOOR",
- [(set R600_Reg32:$dst, (int_AMDGPU_floor R600_Reg32:$src))]
+ [(set R600_Reg32:$dst, (ffloor R600_Reg32:$src))]
>;
let mayLoad = 0, mayStore = 0, hasSideEffects = 0 in {