mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-18 11:24:01 +00:00
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:
@ -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...
|
||||
|
Reference in New Issue
Block a user