mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-10 20:33:15 +00:00
Fix change in behaviour accidentally introduced in r201754.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201758 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
08316a11e4
commit
ccb98645b6
@ -152,8 +152,10 @@ static void getUnderlyingObjectsForInstr(const MachineInstr *MI,
|
|||||||
// For now, ignore PseudoSourceValues which may alias LLVM IR values
|
// For now, ignore PseudoSourceValues which may alias LLVM IR values
|
||||||
// because the code that uses this function has no way to cope with
|
// because the code that uses this function has no way to cope with
|
||||||
// such aliases.
|
// such aliases.
|
||||||
if (!PSV->isAliased(MFI))
|
if (!PSV->isAliased(MFI)) {
|
||||||
Objects.push_back(UnderlyingObjectsVector::value_type(V, false));
|
bool MayAlias = PSV->mayAlias(MFI);
|
||||||
|
Objects.push_back(UnderlyingObjectsVector::value_type(V, MayAlias));
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user