From f43d8e1cce7a5bfd4e464ea83647b4b13c8154ad Mon Sep 17 00:00:00 2001 From: Justin Bogner Date: Fri, 1 May 2015 01:02:17 +0000 Subject: [PATCH] InstrProf: This call does nothing, remove it llvm-svn: 236298 --- clang/lib/CodeGen/CGCall.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/clang/lib/CodeGen/CGCall.cpp b/clang/lib/CodeGen/CGCall.cpp index 0bdc508..2922a21 100644 --- a/clang/lib/CodeGen/CGCall.cpp +++ b/clang/lib/CodeGen/CGCall.cpp @@ -2971,7 +2971,6 @@ void CodeGenFunction::EmitNoreturnRuntimeCallOrInvoke(llvm::Value *callee, call->setCallingConv(getRuntimeCC()); Builder.CreateUnreachable(); } - PGO.setCurrentRegionUnreachable(); } /// Emits a call or invoke instruction to the given nullary runtime -- 2.7.4