mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
[SimplifyLibCalls] Merge two if statements. NFC.
llvm-svn: 251845
This commit is contained in:
parent
077216c4b1
commit
fef9087e70
@ -1591,10 +1591,7 @@ Value *LibCallSimplifier::optimizeErrorReporting(CallInst *CI, IRBuilder<> &B,
|
||||
}
|
||||
|
||||
static bool isReportingError(Function *Callee, CallInst *CI, int StreamArg) {
|
||||
if (!ColdErrorCalls)
|
||||
return false;
|
||||
|
||||
if (!Callee || !Callee->isDeclaration())
|
||||
if (!ColdErrorCalls || !Callee || !Callee->isDeclaration())
|
||||
return false;
|
||||
|
||||
if (StreamArg < 0)
|
||||
|
Loading…
Reference in New Issue
Block a user