diff --git a/include/llvm/InstrTypes.h b/include/llvm/InstrTypes.h index 152f4773ebe..22b52c5f736 100644 --- a/include/llvm/InstrTypes.h +++ b/include/llvm/InstrTypes.h @@ -532,7 +532,8 @@ public: unsigned getNumOperands() const { return 2; } /// This is just a convenience that dispatches to the subclasses. - /// @brief Swap the operands. + /// @brief Swap the operands and adjust predicate accordingly to retain + /// the same comparison. void swapOperands(); /// This is just a convenience that dispatches to the subclasses.