forked from OSchip/llvm-project
InstrProf: This call does nothing, remove it
llvm-svn: 236298
This commit is contained in:
parent
80c9759ef7
commit
f43d8e1cce
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue