diff options
author | Dan Gohman <gohman@apple.com> | 2009-07-20 20:32:43 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-07-20 20:32:43 +0000 |
commit | 344df5ecdfc406476a627c29974ba7481d6a3313 (patch) | |
tree | 9a73c4afb9a43b895301287e52da106d2b4c233b /include/llvm/Operator.h | |
parent | 5026ae4514caf5bb88d6c09fbf56a9db2753ed43 (diff) |
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
Diffstat (limited to 'include/llvm/Operator.h')
-rw-r--r-- | include/llvm/Operator.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Operator.h b/include/llvm/Operator.h index 5ebb9c0dd0..541f13d859 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: |