diff options
| author | Chris Lattner <sabre@nondot.org> | 2004-03-16 03:41:35 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2004-03-16 03:41:35 +0000 |
| commit | 8ad948ddbdd8ea5b13e58132627a779beba6c143 (patch) | |
| tree | 37bb78cd4a3b9bf03636d6272bfe2a0193c0eb70 /llvm/lib/Analysis/LoadValueNumbering.cpp | |
| parent | 8726ebd326be6c00f804d01da3764a7170ec497d (diff) | |
| download | bcm5719-llvm-8ad948ddbdd8ea5b13e58132627a779beba6c143.tar.gz bcm5719-llvm-8ad948ddbdd8ea5b13e58132627a779beba6c143.zip | |
Add some missing functions. Make sure to handle calls together in case the
client has another VN implementation that can VN calls.
llvm-svn: 12427
Diffstat (limited to 'llvm/lib/Analysis/LoadValueNumbering.cpp')
| -rw-r--r-- | llvm/lib/Analysis/LoadValueNumbering.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/LoadValueNumbering.cpp b/llvm/lib/Analysis/LoadValueNumbering.cpp index a71ade6d614..b67aaddde32 100644 --- a/llvm/lib/Analysis/LoadValueNumbering.cpp +++ b/llvm/lib/Analysis/LoadValueNumbering.cpp @@ -247,7 +247,7 @@ void LoadVN::getEqualNumberNodes(Value *V, if (!isa<LoadInst>(V)) { if (CallInst *CI = dyn_cast<CallInst>(V)) - return getCallEqualNumberNodes(CI, RetVals); + getCallEqualNumberNodes(CI, RetVals); // Not a load instruction? Just chain to the base value numbering // implementation to satisfy the request... |

