1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

R600: Add a comment that llvm.AMDGPU.trunc is a legacy intrinsic

llvm-svn: 212218
This commit is contained in:
Tom Stellard 2014-07-02 20:53:57 +00:00
parent c4ab9c96da
commit e220f55c61

View File

@ -912,7 +912,7 @@ SDValue AMDGPUTargetLowering::LowerINTRINSIC_WO_CHAIN(SDValue Op,
case AMDGPUIntrinsic::AMDIL_round_nearest: // Legacy name. case AMDGPUIntrinsic::AMDIL_round_nearest: // Legacy name.
return DAG.getNode(ISD::FRINT, DL, VT, Op.getOperand(1)); return DAG.getNode(ISD::FRINT, DL, VT, Op.getOperand(1));
case AMDGPUIntrinsic::AMDGPU_trunc: case AMDGPUIntrinsic::AMDGPU_trunc: // Legacy name.
return DAG.getNode(ISD::FTRUNC, DL, VT, Op.getOperand(1)); return DAG.getNode(ISD::FTRUNC, DL, VT, Op.getOperand(1));
} }
} }