]> granicus.if.org Git - llvm/commitdiff
Update comment to match r300252.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 19 Apr 2017 18:17:51 +0000 (18:17 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 19 Apr 2017 18:17:51 +0000 (18:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@300728 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/ADT/APInt.h

index 3f93e68e2c3143d0d8fd3642710db856945a4112..b508c7770e2d2b803c280789ac921fe279c1f2c8 100644 (file)
@@ -1988,7 +1988,7 @@ inline const APInt &umax(const APInt &A, const APInt &B) {
 /// \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);