[llvm] r219777 - R600: Remove outdated comment

Matt Arsenault Matthew.Arsenault at amd.com
Tue Oct 14 22:06:58 PDT 2014


Author: arsenm
Date: Wed Oct 15 00:06:57 2014
New Revision: 219777

URL: http://llvm.org/viewvc/llvm-project?rev=219777&view=rev
Log:
R600: Remove outdated comment

Modified:
    llvm/trunk/lib/Target/R600/AMDGPUISelLowering.cpp

Modified: llvm/trunk/lib/Target/R600/AMDGPUISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/R600/AMDGPUISelLowering.cpp?rev=219777&r1=219776&r2=219777&view=diff
==============================================================================
--- llvm/trunk/lib/Target/R600/AMDGPUISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/R600/AMDGPUISelLowering.cpp Wed Oct 15 00:06:57 2014
@@ -2148,9 +2148,6 @@ SDValue AMDGPUTargetLowering::PerformDAG
 
     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,





More information about the llvm-commits mailing list