[PATCH] D31968: Remove all allocation and divisions from GreatestCommonDivisor
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 12 16:33:16 PDT 2017
craig.topper added a comment.
I guess I didn't submit the comment. Should be there now.
================
Comment at: unittests/ADT/APIntTest.cpp:2016
+ HugePrime.setAllBits();
+ HugePrime = HugePrime.zext(4450);
+
----------------
Is this equivalent to APInt HugePrime(APInt::getLowBitsSet(4450, 4423))?
Repository:
rL LLVM
https://reviews.llvm.org/D31968
More information about the llvm-commits
mailing list