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 d2f6685 commit 2cc56a0Copy full SHA for 2cc56a0
flang/lib/Optimizer/Transforms/FIRToSCF.cpp
@@ -99,8 +99,8 @@ struct IfConversion : public OpRewritePattern<fir::IfOp> {
99
loc, resultTypes, condition, !ifOp.getElseRegion().empty());
100
// then region
101
scfIfOp.getThenRegion().takeBody(ifOp.getThenRegion());
102
- Block &scfthenBlock = scfIfOp.getThenRegion().front();
103
- Operation *scfthenTerminator = scfthenBlock.getTerminator();
+ Block &scfThenBlock = scfIfOp.getThenRegion().front();
+ Operation *scfThenTerminator = scfThenBlock.getTerminator();
104
// fir.result->scf.yield
105
rewriter.setInsertionPointToEnd(&scfthenBlock);
106
rewriter.replaceOpWithNewOp<scf::YieldOp>(scfthenTerminator,
0 commit comments