From 5d90c14b7613592853db0b5383a7234368ab19a0 Mon Sep 17 00:00:00 2001 From: Philip Reames Date: Wed, 22 Aug 2018 03:33:55 +0000 Subject: [PATCH] [AST] Reorder code to reduce a future patch diff [NFC] llvm-svn: 340383 --- llvm/lib/Analysis/AliasSetTracker.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/llvm/lib/Analysis/AliasSetTracker.cpp b/llvm/lib/Analysis/AliasSetTracker.cpp index 66fdf7f22f03..a9b01df6e63f 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(UnknownInsts[0]); -- GitLab