diff options
author | Mingjie Xing <mingjie.xing@gmail.com> | 2014-01-07 01:54:16 +0000 |
---|---|---|
committer | Mingjie Xing <mingjie.xing@gmail.com> | 2014-01-07 01:54:16 +0000 |
commit | a7f23233fa12f7a67e8eb3ddaa3de9639a282f06 (patch) | |
tree | b683212324271f736d3842a85a9e8e958b5f4b0b /lib/Analysis | |
parent | 2352abb7c60408830eea1051476199647d3cb13e (diff) | |
download | llvm-a7f23233fa12f7a67e8eb3ddaa3de9639a282f06.tar.gz llvm-a7f23233fa12f7a67e8eb3ddaa3de9639a282f06.tar.bz2 llvm-a7f23233fa12f7a67e8eb3ddaa3de9639a282f06.tar.xz |
Fix comment of findGCD.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198660 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis')
-rw-r--r-- | lib/Analysis/DependenceAnalysis.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Analysis/DependenceAnalysis.cpp b/lib/Analysis/DependenceAnalysis.cpp index 3b3e2ef155..f152aeb9de 100644 --- a/lib/Analysis/DependenceAnalysis.cpp +++ b/lib/Analysis/DependenceAnalysis.cpp @@ -1275,8 +1275,8 @@ bool DependenceAnalysis::weakCrossingSIVtest(const SCEV *Coeff, // // 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) { |