[StructurizeCFG] Add whitespace in getAnalysisUsage.
authorJustin Lebar <jlebar@google.com>
Tue, 22 Nov 2016 23:14:07 +0000 (23:14 +0000)
committerJustin Lebar <jlebar@google.com>
Tue, 22 Nov 2016 23:14:07 +0000 (23:14 +0000)
Summary:
"addRequired" and "addPreserved" look very similar when squished up next
to each other -- without the newline this code looked to me like it was
addRequired'ing DominatorTreeWrapperPass twice.

Reviewers: arsenm

Subscribers: wdng, llvm-commits

Differential Revision: https://reviews.llvm.org/D26996

llvm-svn: 287720

llvm/lib/Transforms/Scalar/StructurizeCFG.cpp

index 004287f..d6ad083 100644 (file)
@@ -255,6 +255,7 @@ public:
     AU.addRequiredID(LowerSwitchID);
     AU.addRequired<DominatorTreeWrapperPass>();
     AU.addRequired<LoopInfoWrapperPass>();
+
     AU.addPreserved<DominatorTreeWrapperPass>();
     RegionPass::getAnalysisUsage(AU);
   }