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 bcf8ded commit ad6631fCopy full SHA for ad6631f
llvm/lib/Transforms/IPO/SCCP.cpp
@@ -76,10 +76,8 @@ static void findReturnsToZap(Function &F,
76
if (!isa<CallBase>(U))
77
return true;
78
if (U->getType()->isStructTy()) {
79
- return all_of(Solver.getStructLatticeValueFor(U),
80
- [](const ValueLatticeElement &LV) {
81
- return !SCCPSolver::isOverdefined(LV);
82
- });
+ return none_of(Solver.getStructLatticeValueFor(U),
+ SCCPSolver::isOverdefined);
83
}
84
85
// We don't consider assume-like intrinsics to be actual address
0 commit comments