Clarify that OverflowingBinaryOperator is not used for SDiv, even though

SDiv is a binary operation that can overflow.

llvm-svn: 76464
This commit is contained in:
Dan Gohman 2009-07-20 20:32:43 +00:00
parent ee5513582d
commit e29ed8c857
1 changed files with 2 additions and 1 deletions

View File

@ -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: