summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm/ADT/APInt.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/include/llvm/ADT/APInt.h')
-rw-r--r--llvm/include/llvm/ADT/APInt.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/llvm/ADT/APInt.h b/llvm/include/llvm/ADT/APInt.h
index b9b39f3b9dfb..8d3c029b2e7e 100644
--- a/llvm/include/llvm/ADT/APInt.h
+++ b/llvm/include/llvm/ADT/APInt.h
@@ -1740,8 +1740,8 @@ public:
return *this;
}
- /// \returns the multiplicative inverse for a given modulo.
- APInt multiplicativeInverse(const APInt &modulo) const;
+ /// \returns the multiplicative inverse of an odd APInt modulo 2^BitWidth.
+ APInt multiplicativeInverse() const;
/// @}
/// \name Building-block Operations for APInt and APFloat