1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

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 f1c0daa6a7
commit 6f1417c7d0

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: