summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/R600/AMDGPUISelLowering.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2014-10-15 05:06:57 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2014-10-15 05:06:57 +0000
commit7acfddf17c01dbf953a67793427b375dd8c9d02a (patch)
tree6b8a7f81672801511cea1eef4ba6aa46a2914060 /llvm/lib/Target/R600/AMDGPUISelLowering.cpp
parent42379d4cf76783dbadf2b1032b9506fe422ed320 (diff)
downloadbcm5719-llvm-7acfddf17c01dbf953a67793427b375dd8c9d02a.tar.gz
bcm5719-llvm-7acfddf17c01dbf953a67793427b375dd8c9d02a.zip
R600: Remove outdated comment
llvm-svn: 219777
Diffstat (limited to 'llvm/lib/Target/R600/AMDGPUISelLowering.cpp')
-rw-r--r--llvm/lib/Target/R600/AMDGPUISelLowering.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/Target/R600/AMDGPUISelLowering.cpp b/llvm/lib/Target/R600/AMDGPUISelLowering.cpp
index 6fd4317d599..ce2e5882ea8 100644
--- a/llvm/lib/Target/R600/AMDGPUISelLowering.cpp
+++ b/llvm/lib/Target/R600/AMDGPUISelLowering.cpp
@@ -2148,9 +2148,6 @@ SDValue AMDGPUTargetLowering::PerformDAGCombine(SDNode *N,
if (ConstantSDNode *CVal = dyn_cast<ConstantSDNode>(N->getOperand(0))) {
if (Signed) {
- // Avoid undefined left shift of a negative in the constant fold.
- // TODO: I'm not sure what the behavior of the hardware is, this should
- // probably follow that instead.
return constantFoldBFE<int32_t>(DAG,
CVal->getSExtValue(),
OffsetVal,
OpenPOWER on IntegriCloud