mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-13 09:14:38 +00:00
Minor code cleanup /NFC
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@265025 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
285cad0e0c
commit
d4a2e32a4d
@ -333,11 +333,13 @@ struct PGOIndirectCallSiteVisitor
|
||||
PGOIndirectCallSiteVisitor() {}
|
||||
|
||||
void visitCallSite(CallSite CS) {
|
||||
Instruction *I = CS.getInstruction();
|
||||
CallInst *CI = dyn_cast<CallInst>(I);
|
||||
if (CS.getCalledFunction() || !CS.getCalledValue() ||
|
||||
(CI && CI->isInlineAsm()))
|
||||
if (CS.getCalledFunction() || !CS.getCalledValue())
|
||||
return;
|
||||
Instruction *I = CS.getInstruction();
|
||||
if (CallInst *CI = dyn_cast<CallInst>(I)) {
|
||||
if (CI->isInlineAsm())
|
||||
return;
|
||||
}
|
||||
IndirectCallInsts.push_back(I);
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user