From: Adam Nemet Date: Thu, 5 May 2016 23:41:28 +0000 (+0000) Subject: [LAA] Fix confusing debug message X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3c65ddccbcd4a5889783efd614472b5266a57a7a;p=llvm [LAA] Fix confusing debug message This message used to be correct, when all we cared about was whether the dependence was safe (i.e. NoDep) or unsafe. With the current more precise characterization, this is a forward dep. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@268695 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Analysis/LoopAccessAnalysis.cpp b/lib/Analysis/LoopAccessAnalysis.cpp index a7122982212..6b1c5f22aa3 100644 --- a/lib/Analysis/LoopAccessAnalysis.cpp +++ b/lib/Analysis/LoopAccessAnalysis.cpp @@ -1217,7 +1217,7 @@ MemoryDepChecker::isDependent(const MemAccessInfo &A, unsigned AIdx, return Dependence::ForwardButPreventsForwarding; } - DEBUG(dbgs() << "LAA: Dependence is negative: NoDep\n"); + DEBUG(dbgs() << "LAA: Dependence is negative\n"); return Dependence::Forward; }