From 8c8e40f763f884c3a13c8e66fee665b52601d755 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Sat, 22 Jun 2019 10:20:13 +0000 Subject: [PATCH] [NewGVN] Fix copy/paste mistake in cast llvm-svn: 364130 --- llvm/lib/Transforms/Scalar/NewGVN.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Transforms/Scalar/NewGVN.cpp b/llvm/lib/Transforms/Scalar/NewGVN.cpp index efae272f69ae..99e18198df24 100644 --- a/llvm/lib/Transforms/Scalar/NewGVN.cpp +++ b/llvm/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); }