From: Nikita Popov Date: Sat, 22 Jun 2019 10:20:13 +0000 (+0000) Subject: [NewGVN] Fix copy/paste mistake in cast X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cf31584630a4159bbd4780b8de93102e7eacb417;p=llvm [NewGVN] Fix copy/paste mistake in cast git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@364130 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Scalar/NewGVN.cpp b/lib/Transforms/Scalar/NewGVN.cpp index efae272f69a..99e18198df2 100644 --- a/lib/Transforms/Scalar/NewGVN.cpp +++ b/lib/Transforms/Scalar/NewGVN.cpp @@ -2096,7 +2096,7 @@ void NewGVN::addPredicateUsers(const PredicateBase *PB, Instruction *I) const { if (auto *PBranch = dyn_cast(PB)) PredicateToUsers[PBranch->Condition].insert(I); - else if (auto *PAssume = dyn_cast(PB)) + else if (auto *PAssume = dyn_cast(PB)) PredicateToUsers[PAssume->Condition].insert(I); }