forked from OSchip/llvm-project
Apply clang-tidy fixes for llvm-else-after-return in SCF.cpp (NFC)
This commit is contained in:
parent
f19e90bc1f
commit
93b23c8439
|
@ -1793,9 +1793,8 @@ struct CombineNestedIfs : public OpRewritePattern<IfOp> {
|
|||
// If the then value is defined within the scf.if, bail.
|
||||
if (tup.value().getParentRegion() == &op.getThenRegion()) {
|
||||
return failure();
|
||||
} else {
|
||||
elseYieldsToUpgradeToSelect.push_back(tup.index());
|
||||
}
|
||||
elseYieldsToUpgradeToSelect.push_back(tup.index());
|
||||
}
|
||||
|
||||
Location loc = op.getLoc();
|
||||
|
|
Loading…
Reference in New Issue