diff options
author | Adam Nemet <anemet@apple.com> | 2016-03-01 00:50:08 +0000 |
---|---|---|
committer | Adam Nemet <anemet@apple.com> | 2016-03-01 00:50:08 +0000 |
commit | b8486e5a32316d54d8e755d393a0305003b2c66e (patch) | |
tree | f04efa2a6b66502b4081e4dfd54942920c5c1623 /llvm/lib/Analysis/LoopAccessAnalysis.cpp | |
parent | 18afab762a6c22de74f1ef714178fb9d1da159b1 (diff) | |
download | bcm5719-llvm-b8486e5a32316d54d8e755d393a0305003b2c66e.tar.gz bcm5719-llvm-b8486e5a32316d54d8e755d393a0305003b2c66e.zip |
[LAA] Add missing debug output
llvm-svn: 262279
Diffstat (limited to 'llvm/lib/Analysis/LoopAccessAnalysis.cpp')
-rw-r--r-- | llvm/lib/Analysis/LoopAccessAnalysis.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/LoopAccessAnalysis.cpp b/llvm/lib/Analysis/LoopAccessAnalysis.cpp index 7227d487002..159d6ae64a0 100644 --- a/llvm/lib/Analysis/LoopAccessAnalysis.cpp +++ b/llvm/lib/Analysis/LoopAccessAnalysis.cpp @@ -1199,8 +1199,10 @@ MemoryDepChecker::isDependent(const MemAccessInfo &A, unsigned AIdx, bool IsTrueDataDependence = (AIsWrite && !BIsWrite); if (IsTrueDataDependence && (couldPreventStoreLoadForward(Val.abs().getZExtValue(), TypeByteSize) || - ATy != BTy)) + ATy != BTy)) { + DEBUG(dbgs() << "LAA: Forward but may prevent st->ld forwarding\n"); return Dependence::ForwardButPreventsForwarding; + } DEBUG(dbgs() << "LAA: Dependence is negative: NoDep\n"); return Dependence::Forward; |