summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorVincent Lejeune <vljn@ovi.com>2012-10-08 15:37:39 +0200
committerTom Stellard <thomas.stellard@amd.com>2012-10-12 15:46:33 +0000
commit8582a17947bd0f1f392a5954ba49bb98539fea97 (patch)
tree2ebb9fb5442c25462132dc2979c6a15fefb87db1 /lib
parentd1481cab22158f2107dec7a5e071aca41e277163 (diff)
R600: use ceil intrinsic instead of llvm.AMDIL.round.posinf
Patch by: Vincent Lejeune Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/AMDGPU/AMDGPUISelLowering.cpp2
-rw-r--r--lib/Target/AMDGPU/AMDILIntrinsics.td2
2 files changed, 0 insertions, 4 deletions
diff --git a/lib/Target/AMDGPU/AMDGPUISelLowering.cpp b/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
index 4f5749f6342..8021fc473d5 100644
--- a/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
+++ b/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
@@ -139,8 +139,6 @@ SDValue AMDGPUTargetLowering::LowerINTRINSIC_WO_CHAIN(SDValue Op,
Op.getOperand(2));
case AMDGPUIntrinsic::AMDIL_round_nearest:
return DAG.getNode(ISD::FRINT, DL, VT, Op.getOperand(1));
- case AMDGPUIntrinsic::AMDIL_round_posinf:
- return DAG.getNode(ISD::FCEIL, DL, VT, Op.getOperand(1));
}
}
diff --git a/lib/Target/AMDGPU/AMDILIntrinsics.td b/lib/Target/AMDGPU/AMDILIntrinsics.td
index 213c8bbfbb7..3f9e20f0c85 100644
--- a/lib/Target/AMDGPU/AMDILIntrinsics.td
+++ b/lib/Target/AMDGPU/AMDILIntrinsics.td
@@ -146,8 +146,6 @@ let TargetPrefix = "AMDIL", isTarget = 1 in {
UnaryIntFloat;
def int_AMDIL_round_neginf : GCCBuiltin<"__amdil_round_neginf">,
UnaryIntFloat;
- def int_AMDIL_round_posinf : GCCBuiltin<"__amdil_round_posinf">,
- UnaryIntFloat;
def int_AMDIL_round_zero : GCCBuiltin<"__amdil_round_zero">,
UnaryIntFloat;
def int_AMDIL_acos : GCCBuiltin<"__amdil_acos">,