R600: Remove outdated comment
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 15 Oct 2014 05:06:57 +0000 (05:06 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 15 Oct 2014 05:06:57 +0000 (05:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219777 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/R600/AMDGPUISelLowering.cpp

index 6fd4317d599e13cce8668bfeda650be60a9dc974..ce2e5882ea8ea338f03502667295f375c04cd48a 100644 (file)
@@ -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,