From: Justin Bogner Date: Fri, 1 May 2015 01:02:17 +0000 (+0000) Subject: InstrProf: This call does nothing, remove it X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0700563a9e918970857397016c48a547cff517e6;p=clang InstrProf: This call does nothing, remove it git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@236298 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/CGCall.cpp b/lib/CodeGen/CGCall.cpp index 0bdc50813f..2922a215ad 100644 --- a/lib/CodeGen/CGCall.cpp +++ b/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