mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-02 00:36:36 +00:00
use MemTransferInst.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66362 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3ce5e887ae
commit
8e10844ad0
@ -219,7 +219,7 @@ static bool AnalyzeGlobal(Value *V, GlobalStatus &GS,
|
||||
if (AnalyzeGlobal(I, GS, PHIUsers)) return true;
|
||||
GS.HasPHIUser = true;
|
||||
} else if (isa<CmpInst>(I)) {
|
||||
} else if (isa<MemCpyInst>(I) || isa<MemMoveInst>(I)) {
|
||||
} else if (isa<MemTransferInst>(I)) {
|
||||
if (I->getOperand(1) == V)
|
||||
GS.StoredType = GlobalStatus::isStored;
|
||||
if (I->getOperand(2) == V)
|
||||
|
Loading…
Reference in New Issue
Block a user