aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/Instruction.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Instruction.h b/include/llvm/Instruction.h
index 4011794025..d09c140e14 100644
--- a/include/llvm/Instruction.h
+++ b/include/llvm/Instruction.h
@@ -79,7 +79,7 @@ public:
/// isAssociative - Return true if the instruction is associative:
///
- /// Associative operators satisfy: x op (y op z) === (x op y) op z)
+ /// Associative operators satisfy: x op (y op z) === (x op y) op z
///
/// In LLVM, the Add, Mul, And, Or, and Xor operators are associative, when
/// not applied to floating point types.
@@ -89,7 +89,7 @@ public:
/// isCommutative - Return true if the instruction is commutative:
///
- /// Commutative operators satistify: (x op y) === (y op x)
+ /// Commutative operators satisfy: (x op y) === (y op x)
///
/// In LLVM, these are the associative operators, plus SetEQ and SetNE, when
/// applied to any type.