projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2352abb
)
Fix comment of findGCD.
author
Mingjie Xing
<mingjie.xing@gmail.com>
Tue, 7 Jan 2014 01:54:16 +0000
(
01:54
+0000)
committer
Mingjie Xing
<mingjie.xing@gmail.com>
Tue, 7 Jan 2014 01:54:16 +0000
(
01:54
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198660
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/DependenceAnalysis.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/DependenceAnalysis.cpp
b/lib/Analysis/DependenceAnalysis.cpp
index 3b3e2ef155a00a5a4f49d8a6b86901dced46f5e5..f152aeb9de768939860e57e1f7e29c655316356b 100644
(file)
--- 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 = g
dc
(a, b).
-// Returns true if
f the gcd divides
Delta.
+// Also finds a solution to the equation ax - by = g
cd
(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) {