[llvm] r198660 - Fix comment of findGCD.
Mingjie Xing
mingjie.xing at gmail.com
Mon Jan 6 17:54:16 PST 2014
Author: xmj
Date: Mon Jan 6 19:54:16 2014
New Revision: 198660
URL: http://llvm.org/viewvc/llvm-project?rev=198660&view=rev
Log:
Fix comment of findGCD.
Modified:
llvm/trunk/lib/Analysis/DependenceAnalysis.cpp
Modified: llvm/trunk/lib/Analysis/DependenceAnalysis.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/DependenceAnalysis.cpp?rev=198660&r1=198659&r2=198660&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/DependenceAnalysis.cpp (original)
+++ llvm/trunk/lib/Analysis/DependenceAnalysis.cpp Mon Jan 6 19:54:16 2014
@@ -1275,8 +1275,8 @@ bool DependenceAnalysis::weakCrossingSIV
//
// Program 2.1, page 29.
// Computes the GCD of AM and BM.
-// Also finds a solution to the equation ax - by = gdc(a, b).
-// Returns true iff the gcd divides Delta.
+// Also finds a solution to the equation ax - by = gcd(a, b).
+// Returns true if dependence disproved; i.e., gcd does not divide Delta.
static
bool findGCD(unsigned Bits, APInt AM, APInt BM, APInt Delta,
APInt &G, APInt &X, APInt &Y) {
More information about the llvm-commits
mailing list