Add some missing functions. Make sure to handle calls together in case the

client has another VN implementation that can VN calls.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12427 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2004-03-16 03:41:35 +00:00
parent 002dbddccd
commit 002be76733
2 changed files with 21 additions and 3 deletions

View File

@ -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...