[llvm] f12433f - [MemDepAnalysis] Remove redundant comment.
Thomas Preud'homme via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 16 08:51:39 PDT 2021
Author: Thomas Preud'homme
Date: 2021-03-16T15:51:17Z
New Revision: f12433f127150054fdb0ed7a735b0e4ab4ae1cd9
URL: https://github.com/llvm/llvm-project/commit/f12433f127150054fdb0ed7a735b0e4ab4ae1cd9
DIFF: https://github.com/llvm/llvm-project/commit/f12433f127150054fdb0ed7a735b0e4ab4ae1cd9.diff
LOG: [MemDepAnalysis] Remove redundant comment.
Exact same comment is found 2 lines above.
Added:
Modified:
llvm/lib/Analysis/MemoryDependenceAnalysis.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Analysis/MemoryDependenceAnalysis.cpp b/llvm/lib/Analysis/MemoryDependenceAnalysis.cpp
index 886b5bf4acd3..3131da2f8b0a 100644
--- a/llvm/lib/Analysis/MemoryDependenceAnalysis.cpp
+++ b/llvm/lib/Analysis/MemoryDependenceAnalysis.cpp
@@ -1135,9 +1135,6 @@ bool MemoryDependenceResults::getNonLocalPointerDepFromBB(
// investigating, just return it with no recomputation.
// Don't use cached information for invariant loads since it is valid for
// non-invariant loads only.
- //
- // Don't use cached information for invariant loads since it is valid for
- // non-invariant loads only.
if (!IsIncomplete && !isInvariantLoad &&
CacheInfo->Pair == BBSkipFirstBlockPair(StartBB, SkipFirstBlock)) {
// We have a fully cached result for this query then we can just return the
More information about the llvm-commits
mailing list