diff options
author | Daniel Berlin <dberlin@dberlin.org> | 2017-05-16 06:06:12 +0000 |
---|---|---|
committer | Daniel Berlin <dberlin@dberlin.org> | 2017-05-16 06:06:12 +0000 |
commit | abd632dfeb17b47263294016094e3e2c521fa6c2 (patch) | |
tree | 636d24feff88b2f89c19f7eb5b3b17be1f03415e /llvm/lib/Transforms/Scalar | |
parent | a641842845d66d779ca24db39ed45791bb30ad8c (diff) | |
download | bcm5719-llvm-abd632dfeb17b47263294016094e3e2c521fa6c2.tar.gz bcm5719-llvm-abd632dfeb17b47263294016094e3e2c521fa6c2.zip |
NewGVN: Formatting fixes
llvm-svn: 303143
Diffstat (limited to 'llvm/lib/Transforms/Scalar')
-rw-r--r-- | llvm/lib/Transforms/Scalar/NewGVN.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Scalar/NewGVN.cpp b/llvm/lib/Transforms/Scalar/NewGVN.cpp index e1fdcac0af7..6a03a83bd4c 100644 --- a/llvm/lib/Transforms/Scalar/NewGVN.cpp +++ b/llvm/lib/Transforms/Scalar/NewGVN.cpp @@ -664,7 +664,7 @@ private: ? InstrToDFSNum(cast<MemoryUseOrDef>(MA)->getMemoryInst()) : InstrDFS.lookup(MA); } - bool isCycleFree(const PHINode *PN) const ; + bool isCycleFree(const PHINode *PN) const; template <class T, class Range> T *getMinDFSOfRange(const Range &) const; // Debug counter info. When verifying, we have to reset the value numbering // debug counter to the same state it started in to get the same results. @@ -1471,7 +1471,8 @@ const Expression *NewGVN::performSymbolicPHIEvaluation(Instruction *I) const { // not to later change the value of the phi. // IE it can't be v = phi(undef, v+1) bool AllConstant = true; - auto *E = cast<PHIExpression>(createPHIExpression(I, HasBackedge, AllConstant)); + auto *E = + cast<PHIExpression>(createPHIExpression(I, HasBackedge, AllConstant)); // We match the semantics of SimplifyPhiNode from InstructionSimplify here. // See if all arguments are the same. // We track if any were undef because they need special handling. |