forked from OSchip/llvm-project
R600: Add a comment that llvm.AMDGPU.trunc is a legacy intrinsic
llvm-svn: 212218
This commit is contained in:
parent
7c1838d797
commit
e9219e0026
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue