Fix comment.
authorEric Christopher <echristo@apple.com>
Fri, 17 Jun 2011 22:35:59 +0000 (22:35 +0000)
committerEric Christopher <echristo@apple.com>
Fri, 17 Jun 2011 22:35:59 +0000 (22:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133307 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp

index f0aa9d631014d8d90bd81346ec48478d970cae3a..6797bece13ca33e777910e7afdf8d32432d5c371 100644 (file)
@@ -2160,8 +2160,7 @@ void DAGTypeLegalizer::ExpandIntRes_XMULO(SDNode *N,
   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;