aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2007-12-08 01:37:09 +0000
committerOwen Anderson <resistor@mac.com>2007-12-08 01:37:09 +0000
commitc772be722a97c719590553448008bd84b467d45c (patch)
treef82d49fee10544a9970808bdb0607e63943d2eb0 /include/llvm
parentbd08cd5dce3bf8d1835bb19653adcf097acb0a9e (diff)
downloadexternal_llvm-c772be722a97c719590553448008bd84b467d45c.zip
external_llvm-c772be722a97c719590553448008bd84b467d45c.tar.gz
external_llvm-c772be722a97c719590553448008bd84b467d45c.tar.bz2
Fix several cache coherence bugs in MemDep/GVN that were found. Also add some (disabled) debugging code
to make such problems easier to diagnose in the future, written by Duncan Sands. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44695 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r--include/llvm/Analysis/MemoryDependenceAnalysis.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/Analysis/MemoryDependenceAnalysis.h b/include/llvm/Analysis/MemoryDependenceAnalysis.h
index 733e702..876a4aa 100644
--- a/include/llvm/Analysis/MemoryDependenceAnalysis.h
+++ b/include/llvm/Analysis/MemoryDependenceAnalysis.h
@@ -52,6 +52,8 @@ class MemoryDependenceAnalysis : public FunctionPass {
reverseDepMapType reverseDepNonLocal;
public:
+ void ping(Instruction* D);
+
// Special marker indicating that the query has no dependency
// in the specified block.
static Instruction* const NonLocal;