diff options
author | Owen Anderson <resistor@mac.com> | 2007-08-01 22:01:54 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2007-08-01 22:01:54 +0000 |
commit | 3f75d12232f19e956ac092bf2e7c32b371a53aa8 (patch) | |
tree | 96d88a34a49128b109c6423bbc6de462bb738a52 /include/llvm/Analysis | |
parent | 43a09acc403fc476fb901cfd1afc16194828716f (diff) | |
download | external_llvm-3f75d12232f19e956ac092bf2e7c32b371a53aa8.zip external_llvm-3f75d12232f19e956ac092bf2e7c32b371a53aa8.tar.gz external_llvm-3f75d12232f19e956ac092bf2e7c32b371a53aa8.tar.bz2 |
Make non-local memdep not be recursive, and fix a bug on 403.gcc that this exposed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40692 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis')
-rw-r--r-- | include/llvm/Analysis/MemoryDependenceAnalysis.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/llvm/Analysis/MemoryDependenceAnalysis.h b/include/llvm/Analysis/MemoryDependenceAnalysis.h index 7546eda..ac6ffb6 100644 --- a/include/llvm/Analysis/MemoryDependenceAnalysis.h +++ b/include/llvm/Analysis/MemoryDependenceAnalysis.h @@ -43,9 +43,8 @@ class MemoryDependenceAnalysis : public FunctionPass { Instruction* getCallSiteDependency(CallSite C, Instruction* start, bool local = true); - bool nonLocalHelper(Instruction* query, BasicBlock* block, - DenseMap<BasicBlock*, Value*>& resp, - SmallPtrSet<BasicBlock*, 4>& visited); + void nonLocalHelper(Instruction* query, BasicBlock* block, + DenseMap<BasicBlock*, Value*>& resp); public: static Instruction* NonLocal; @@ -74,7 +73,7 @@ class MemoryDependenceAnalysis : public FunctionPass { Instruction* getDependency(Instruction* query, Instruction* start = 0, BasicBlock* block = 0); - bool getNonLocalDependency(Instruction* query, + void getNonLocalDependency(Instruction* query, DenseMap<BasicBlock*, Value*>& resp); /// removeInstruction - Remove an instruction from the dependence analysis, |