summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/Operator.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/include/llvm/Operator.h b/llvm/include/llvm/Operator.h
index 5ebb9c0dd0c..541f13d8591 100644
--- a/llvm/include/llvm/Operator.h
+++ b/llvm/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:
OpenPOWER on IntegriCloud