diff options
author | George Burgess IV <george.burgess.iv@gmail.com> | 2016-08-03 19:59:11 +0000 |
---|---|---|
committer | George Burgess IV <george.burgess.iv@gmail.com> | 2016-08-03 19:59:11 +0000 |
commit | f7672854f0910d032dd791ba063694b61ae3eaf2 (patch) | |
tree | 31dcb8f03419ca5e6f703572a6abaf74ac7559b4 /llvm/lib | |
parent | 024f3d2683e77428955a3151ba42ab53b031e4c0 (diff) | |
download | bcm5719-llvm-f7672854f0910d032dd791ba063694b61ae3eaf2.tar.gz bcm5719-llvm-f7672854f0910d032dd791ba063694b61ae3eaf2.zip |
[MSSA] clang-format. NFC.
Didn't want to fold this in with r277640, since it touches bits that
aren't entirely related to r277640.
llvm-svn: 277641
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Transforms/Utils/MemorySSA.cpp | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/llvm/lib/Transforms/Utils/MemorySSA.cpp b/llvm/lib/Transforms/Utils/MemorySSA.cpp index f90ab6eac2b..30c8bd09547 100644 --- a/llvm/lib/Transforms/Utils/MemorySSA.cpp +++ b/llvm/lib/Transforms/Utils/MemorySSA.cpp @@ -198,9 +198,9 @@ static bool lifetimeEndsAt(MemoryDef *MD, const MemoryLocation &Loc, Instruction *Inst = MD->getMemoryInst(); if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(Inst)) { switch (II->getIntrinsicID()) { - case Intrinsic::lifetime_start: - case Intrinsic::lifetime_end: - return AA.isMustAlias(MemoryLocation(II->getArgOperand(1)), Loc); + case Intrinsic::lifetime_start: + case Intrinsic::lifetime_end: + return AA.isMustAlias(MemoryLocation(II->getArgOperand(1)), Loc); default: return false; } @@ -208,11 +208,7 @@ static bool lifetimeEndsAt(MemoryDef *MD, const MemoryLocation &Loc, return false; } -enum class Reorderability { - Always, - IfNoAlias, - Never -}; +enum class Reorderability { Always, IfNoAlias, Never }; /// This does one-way checks to see if Use could theoretically be hoisted above /// MayClobber. This will not check the other way around. |