diff options
author | Eric Christopher <echristo@apple.com> | 2011-06-17 22:35:59 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2011-06-17 22:35:59 +0000 |
commit | 232431c389c7b1b69cd971b1945a93815c66536a (patch) | |
tree | fe613d77dba3be38f8e18868b6c16f7b219d29a5 /llvm/lib/CodeGen | |
parent | b5176a5328fbee9c0dfaa12fe485a8bbc12e98f7 (diff) | |
download | bcm5719-llvm-232431c389c7b1b69cd971b1945a93815c66536a.tar.gz bcm5719-llvm-232431c389c7b1b69cd971b1945a93815c66536a.zip |
Fix comment.
llvm-svn: 133307
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp index f0aa9d63101..6797bece13c 100644 --- a/llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp +++ b/llvm/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; |