[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


================
@@ -3249,11 +3249,22 @@ TEST(APIntTest, SolveQuadraticEquationWrap) {
 }
 
 TEST(APIntTest, MultiplicativeInverseExaustive) {
----------------
jayfoad wrote:

This is nowhere near "exhaustive" since it only tests one (power of two) modulus per BitWidth.

https://github.com/llvm/llvm-project/pull/87812


More information about the llvm-commits mailing list