From 8a55ca3c41263615375909f57ec1b1a7ba0ead21 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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219777 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/R600/AMDGPUISelLowering.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/Target/R600/AMDGPUISelLowering.cpp b/lib/Target/R600/AMDGPUISelLowering.cpp index 6fd4317d599..ce2e5882ea8 100644 --- a/lib/Target/R600/AMDGPUISelLowering.cpp +++ b/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.34.1