mirror of
https://github.com/RPCS3/llvm.git
synced 2026-07-19 23:23:38 -04:00
[AST] Reorder code to reduce a future patch diff [NFC]
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@340383 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -253,12 +253,12 @@ bool AliasSet::aliasesUnknownInst(const Instruction *Inst,
|
||||
}
|
||||
|
||||
Instruction* AliasSet::getUniqueInstruction() {
|
||||
if (size() != 0)
|
||||
// Can't track source of pointer, might be many instruction
|
||||
return nullptr;
|
||||
if (AliasAny)
|
||||
// May have collapses alias set
|
||||
return nullptr;
|
||||
if (size() != 0)
|
||||
// Can't track source of pointer, might be many instruction
|
||||
return nullptr;
|
||||
if (1 != UnknownInsts.size())
|
||||
return nullptr;
|
||||
return cast<Instruction>(UnknownInsts[0]);
|
||||
|
||||
Reference in New Issue
Block a user