[llvm] r300728 - Update comment to match r300252.

Richard Smith via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 19 11:17:51 PDT 2017


Author: rsmith
Date: Wed Apr 19 13:17:51 2017
New Revision: 300728

URL: http://llvm.org/viewvc/llvm-project?rev=300728&view=rev
Log:
Update comment to match r300252.

Modified:
    llvm/trunk/include/llvm/ADT/APInt.h

Modified: llvm/trunk/include/llvm/ADT/APInt.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/APInt.h?rev=300728&r1=300727&r2=300728&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ADT/APInt.h (original)
+++ llvm/trunk/include/llvm/ADT/APInt.h Wed Apr 19 13:17:51 2017
@@ -1988,7 +1988,7 @@ inline const APInt &umax(const APInt &A,
 /// \brief Compute GCD of two unsigned APInt values.
 ///
 /// This function returns the greatest common divisor of the two APInt values
-/// using Euclid's algorithm.
+/// using Stein's algorithm.
 ///
 /// \returns the greatest common divisor of A and B.
 APInt GreatestCommonDivisor(APInt A, APInt B);




More information about the llvm-commits mailing list