forked from OSchip/llvm-project
Fix change in behaviour accidentally introduced in r201754.
llvm-svn: 201758
This commit is contained in:
parent
c96570172a
commit
c4a9f8a019
|
@ -152,8 +152,10 @@ static void getUnderlyingObjectsForInstr(const MachineInstr *MI,
|
|||
// For now, ignore PseudoSourceValues which may alias LLVM IR values
|
||||
// because the code that uses this function has no way to cope with
|
||||
// such aliases.
|
||||
if (!PSV->isAliased(MFI))
|
||||
Objects.push_back(UnderlyingObjectsVector::value_type(V, false));
|
||||
if (!PSV->isAliased(MFI)) {
|
||||
bool MayAlias = PSV->mayAlias(MFI);
|
||||
Objects.push_back(UnderlyingObjectsVector::value_type(V, MayAlias));
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue