mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-21 18:29:46 +00:00
Minor simplification.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136202 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9b4ad12b1e
commit
751bef77d0
@ -185,8 +185,8 @@ bool AliasSet::aliasesUnknownInst(Instruction *Inst, AliasAnalysis &AA) const {
|
||||
for (unsigned i = 0, e = UnknownInsts.size(); i != e; ++i) {
|
||||
CallSite C1 = getUnknownInst(i), C2 = Inst;
|
||||
if (!C1 || !C2 ||
|
||||
AA.getModRefInfo(getUnknownInst(i), Inst) != AliasAnalysis::NoModRef ||
|
||||
AA.getModRefInfo(Inst, getUnknownInst(i)) != AliasAnalysis::NoModRef)
|
||||
AA.getModRefInfo(C1, C2) != AliasAnalysis::NoModRef ||
|
||||
AA.getModRefInfo(C2, C1) != AliasAnalysis::NoModRef)
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user