From 0705ee8dc2a095362e7113ded764056d79bcc664 Mon Sep 17 00:00:00 2001 From: Lang Hames Date: Sun, 17 Jun 2018 23:54:58 +0000 Subject: [PATCH] [ORC] Remove redundant condition llvm-svn: 334918 --- llvm/lib/ExecutionEngine/Orc/Core.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/ExecutionEngine/Orc/Core.cpp b/llvm/lib/ExecutionEngine/Orc/Core.cpp index 21b7ef2851f5..8f920edb4fd7 100644 --- a/llvm/lib/ExecutionEngine/Orc/Core.cpp +++ b/llvm/lib/ExecutionEngine/Orc/Core.cpp @@ -883,7 +883,7 @@ Error VSO::defineImpl(MaterializationUnit &MU) { if (!Duplicates.empty()) { // We need to remove the symbols we added. for (auto &KV : MU.getSymbols()) { - if (Duplicates.count(KV.first) || Duplicates.count(KV.first)) + if (Duplicates.count(KV.first)) continue; bool Found = false;