From 7acfddf17c01dbf953a67793427b375dd8c9d02a Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Wed, 15 Oct 2014 05:06:57 +0000 Subject: [PATCH] R600: Remove outdated comment llvm-svn: 219777 --- llvm/lib/Target/R600/AMDGPUISelLowering.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/llvm/lib/Target/R600/AMDGPUISelLowering.cpp b/llvm/lib/Target/R600/AMDGPUISelLowering.cpp index 6fd4317..ce2e588 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(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(DAG, CVal->getSExtValue(), OffsetVal, -- 2.7.4