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 a04d3ca commit 79a0bf0Copy full SHA for 79a0bf0
flang/lib/Optimizer/Transforms/ConvertComplexPow.cpp
@@ -83,9 +83,7 @@ void ConvertComplexPowPass::runOnOperation() {
83
call.setFastmathAttr(fmf);
84
powIop.replaceAllUsesWith(call.getResult(0));
85
powIop.erase();
86
- }
87
-
88
- if (auto powOp = dyn_cast<complex::PowOp>(op)) {
+ } else if (auto powOp = dyn_cast<complex::PowOp>(op)) {
89
builder.setInsertionPoint(powOp);
90
Location loc = powOp.getLoc();
91
auto complexTy = cast<ComplexType>(powOp.getType());
0 commit comments