summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2014-07-02 20:53:57 +0000
committerTom Stellard <thomas.stellard@amd.com>2014-07-02 20:53:57 +0000
commite9219e002663c1d40506f91562d4acf21f55d14e (patch)
treecbbd0a9b5cb0bc91d1ff7934ea65ffc98ec42e01 /llvm/lib/Target
parent7c1838d7976663e74ac6cd4a904e13ae366a4149 (diff)
downloadbcm5719-llvm-e9219e002663c1d40506f91562d4acf21f55d14e.tar.gz
bcm5719-llvm-e9219e002663c1d40506f91562d4acf21f55d14e.zip
R600: Add a comment that llvm.AMDGPU.trunc is a legacy intrinsic
llvm-svn: 212218
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/R600/AMDGPUISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/R600/AMDGPUISelLowering.cpp b/llvm/lib/Target/R600/AMDGPUISelLowering.cpp
index 60bceaff954..c200b588f6c 100644
--- a/llvm/lib/Target/R600/AMDGPUISelLowering.cpp
+++ b/llvm/lib/Target/R600/AMDGPUISelLowering.cpp
@@ -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));
}
}
OpenPOWER on IntegriCloud