From: Matt Arsenault Date: Wed, 15 Oct 2014 05:06:57 +0000 (+0000) Subject: R600: Remove outdated comment X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=8a55ca3c41263615375909f57ec1b1a7ba0ead21;p=oota-llvm.git R600: Remove outdated comment git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219777 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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,