The following warning is issued for llvm/lib/Analysis/DependenceAnalysis.cpp:2004 warning: suggest parentheses around ‘&&’ within ‘||’
This commit is contained in:
parent
e2e5db8401
commit
0abef30c80
@ -2000,8 +2000,8 @@ bool DependenceInfo::testSIV(const SCEV *Src, const SCEV *Dst, unsigned &Level,
|
||||
Level = mapDstLoop(CurDstLoop);
|
||||
return weakZeroSrcSIVtest(Src, DstAddRec, Level, Result);
|
||||
}
|
||||
assert(SrcAddRec != nullptr ||
|
||||
DstAddRec != nullptr && "SIV test expected at least one AddRec");
|
||||
assert((SrcAddRec != nullptr || DstAddRec != nullptr) &&
|
||||
"SIV test expected at least one AddRec");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user