From: Dan Gohman Date: Mon, 20 Jul 2009 20:32:43 +0000 (+0000) Subject: Clarify that OverflowingBinaryOperator is not used for SDiv, even though X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=344df5ecdfc406476a627c29974ba7481d6a3313;p=oota-llvm.git Clarify that OverflowingBinaryOperator is not used for SDiv, even though SDiv is a binary operation that can overflow. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76464 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Operator.h b/include/llvm/Operator.h index 5ebb9c0dd0c..541f13d8591 100644 --- a/include/llvm/Operator.h +++ b/include/llvm/Operator.h @@ -61,7 +61,8 @@ public: }; /// OverflowingBinaryOperator - Utility class for integer arithmetic operators -/// which may exhibit overflow - Add, Sub, and Mul. +/// which may exhibit overflow - Add, Sub, and Mul. It does not include SDiv, +/// despite that operator having the potential for overflow. /// class OverflowingBinaryOperator : public Operator { public: