We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b46568 commit 6b10c3dCopy full SHA for 6b10c3d
llvm/lib/Transforms/IPO/OpenMPOpt.cpp
@@ -5028,9 +5028,8 @@ struct AAKernelInfoCallSite : AAKernelInfo {
5028
const auto *AACE =
5029
A.getAAFor<AACallEdges>(*this, getIRPosition(), DepClassTy::OPTIONAL);
5030
if (!AACE || !AACE->getState().isValidState() || AACE->hasUnknownCallee()) {
5031
- Function *F = getAssociatedFunction();
5032
- if (F)
5033
- CheckCallee(getAssociatedFunction(), /*NumCallees=*/1);
+ if (Function *F = getAssociatedFunction())
+ CheckCallee(F, /*NumCallees=*/1);
5034
} else {
5035
const auto &OptimisticEdges = AACE->getOptimisticEdges();
5036
for (auto *Callee : OptimisticEdges) {
0 commit comments