diff options
author | Philip Reames <listmail@philipreames.com> | 2018-08-22 03:33:55 +0000 |
---|---|---|
committer | Philip Reames <listmail@philipreames.com> | 2018-08-22 03:33:55 +0000 |
commit | 5d90c14b7613592853db0b5383a7234368ab19a0 (patch) | |
tree | c8e556dbf6333139e08d06806564052cde40d8e7 /llvm/lib/Analysis/AliasSetTracker.cpp | |
parent | 825c74c241504c261b9f7fc87fbb0cf777b7e2fc (diff) | |
download | bcm5719-llvm-5d90c14b7613592853db0b5383a7234368ab19a0.tar.gz bcm5719-llvm-5d90c14b7613592853db0b5383a7234368ab19a0.zip |
[AST] Reorder code to reduce a future patch diff [NFC]
llvm-svn: 340383
Diffstat (limited to 'llvm/lib/Analysis/AliasSetTracker.cpp')
-rw-r--r-- | llvm/lib/Analysis/AliasSetTracker.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Analysis/AliasSetTracker.cpp b/llvm/lib/Analysis/AliasSetTracker.cpp index 66fdf7f22f0..a9b01df6e63 100644 --- a/llvm/lib/Analysis/AliasSetTracker.cpp +++ b/llvm/lib/Analysis/AliasSetTracker.cpp @@ -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]); |