[llvm] Revert "[APInt] Remove multiplicativeInverse with explicit modulus (#… (PR #87812)
Jay Foad via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 5 11:09:45 PDT 2024
================
@@ -1740,6 +1740,9 @@ class [[nodiscard]] APInt {
return *this;
}
+ /// \returns the multiplicative inverse for a given modulo.
----------------
jayfoad wrote:
The wording seems odd - surely it should be "modulus" throughout?
https://github.com/llvm/llvm-project/pull/87812
More information about the llvm-commits
mailing list