[llvm] r212218 - R600: Add a comment that llvm.AMDGPU.trunc is a legacy intrinsic
Tom Stellard
thomas.stellard at amd.com
Wed Jul 2 13:53:58 PDT 2014
Author: tstellar
Date: Wed Jul 2 15:53:57 2014
New Revision: 212218
URL: http://llvm.org/viewvc/llvm-project?rev=212218&view=rev
Log:
R600: Add a comment that llvm.AMDGPU.trunc is a legacy intrinsic
Modified:
llvm/trunk/lib/Target/R600/AMDGPUISelLowering.cpp
Modified: llvm/trunk/lib/Target/R600/AMDGPUISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/R600/AMDGPUISelLowering.cpp?rev=212218&r1=212217&r2=212218&view=diff
==============================================================================
--- llvm/trunk/lib/Target/R600/AMDGPUISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/R600/AMDGPUISelLowering.cpp Wed Jul 2 15:53:57 2014
@@ -912,7 +912,7 @@ SDValue AMDGPUTargetLowering::LowerINTRI
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));
}
}
More information about the llvm-commits
mailing list