Skip to content

Commit f239922

Browse files
authored
[flang] Enable hlfir.sum inlining by default. (#119937)
There is already a LIT test for hlfir.sum inlining that uses the engineering option. I would like to keep the option for short period of time to be able to revert in case of performance regressions that I was not able to see.
1 parent d576021 commit f239922

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

flang/lib/Optimizer/HLFIR/Transforms/SimplifyHLFIRIntrinsics.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ namespace hlfir {
3333
static llvm::cl::opt<bool>
3434
simplifySum("flang-simplify-hlfir-sum",
3535
llvm::cl::desc("Expand hlfir.sum into an inline sequence"),
36-
llvm::cl::init(false));
36+
llvm::cl::init(true));
37+
3738
namespace {
3839

3940
class TransposeAsElementalConversion

0 commit comments

Comments
 (0)