[llvm-commits] [llvm] r133307 - /llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp

Eric Christopher echristo at apple.com
Fri Jun 17 15:36:00 PDT 2011


Author: echristo
Date: Fri Jun 17 17:35:59 2011
New Revision: 133307

URL: http://llvm.org/viewvc/llvm-project?rev=133307&view=rev
Log:
Fix comment.

Modified:
    llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp

Modified: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp?rev=133307&r1=133306&r2=133307&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp Fri Jun 17 17:35:59 2011
@@ -2160,8 +2160,7 @@
   const Type *PtrTy = PtrVT.getTypeForEVT(*DAG.getContext());
   DebugLoc dl = N->getDebugLoc();
 
-  // Expand the result by simply replacing it with the equivalent
-  // non-overflow-checking operation.
+  // Replace this with a libcall that will check overflow.
   RTLIB::Libcall LC = RTLIB::UNKNOWN_LIBCALL;
   if (VT == MVT::i32)
     LC = RTLIB::MULO_I32;





More information about the llvm-commits mailing list