From 344df5ecdfc406476a627c29974ba7481d6a3313 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Mon, 20 Jul 2009 20:32:43 +0000 Subject: [PATCH] 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 --- include/llvm/Operator.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: