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 7c1838d797
commit e9219e0026
1 changed files with 1 additions and 1 deletions

View File

@ -912,7 +912,7 @@ SDValue AMDGPUTargetLowering::LowerINTRINSIC_WO_CHAIN(SDValue Op,
case AMDGPUIntrinsic::AMDIL_round_nearest: // Legacy name.
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));
}
}