File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
flang/lib/Optimizer/Transforms Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -99,12 +99,12 @@ struct IfConversion : public OpRewritePattern<fir::IfOp> {
99
99
loc, resultTypes, condition, !ifOp.getElseRegion ().empty ());
100
100
// then region
101
101
scfIfOp.getThenRegion ().takeBody (ifOp.getThenRegion ());
102
- Block &scfthenBlock = scfIfOp.getThenRegion ().front ();
103
- Operation *scfthenTerminator = scfthenBlock .getTerminator ();
102
+ Block &scfThenBlock = scfIfOp.getThenRegion ().front ();
103
+ Operation *scfThenTerminator = scfThenBlock .getTerminator ();
104
104
// fir.result->scf.yield
105
- rewriter.setInsertionPointToEnd (&scfthenBlock );
106
- rewriter.replaceOpWithNewOp <scf::YieldOp>(scfthenTerminator ,
107
- scfthenTerminator ->getOperands ());
105
+ rewriter.setInsertionPointToEnd (&scfThenBlock );
106
+ rewriter.replaceOpWithNewOp <scf::YieldOp>(scfThenTerminator ,
107
+ scfThenTerminator ->getOperands ());
108
108
109
109
// else region
110
110
if (!ifOp.getElseRegion ().empty ()) {
You can’t perform that action at this time.
0 commit comments