summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2011-06-17 22:35:59 +0000
committerEric Christopher <echristo@apple.com>2011-06-17 22:35:59 +0000
commit5e687ac6158bc28f1831699d7dbfa39d3120b892 (patch)
treebf4bdd761a765a09796bad0299a8458b8b983801 /lib
parentd3e724aeaf612529aa358a1394e74922111372af (diff)
downloadllvm-5e687ac6158bc28f1831699d7dbfa39d3120b892.tar.gz
llvm-5e687ac6158bc28f1831699d7dbfa39d3120b892.tar.bz2
llvm-5e687ac6158bc28f1831699d7dbfa39d3120b892.tar.xz
Fix comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133307 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp b/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
index f0aa9d6310..6797bece13 100644
--- a/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
+++ b/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
@@ -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;