[all-commits] [llvm/llvm-project] 4fbd1d: [flang] Run algebraic simplification optimization ...
Slava Zakharin via All-commits
all-commits at lists.llvm.org
Wed Jul 20 16:43:28 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4fbd1d6c872e8228f23a6e13914222af40ca6461
https://github.com/llvm/llvm-project/commit/4fbd1d6c872e8228f23a6e13914222af40ca6461
Author: Slava Zakharin <szakharin at nvidia.com>
Date: 2022-07-20 (Wed, 20 Jul 2022)
Changed paths:
M flang/include/flang/Optimizer/Transforms/Passes.h
M flang/include/flang/Optimizer/Transforms/Passes.td
M flang/include/flang/Tools/CLOptions.inc
M flang/lib/Frontend/FrontendActions.cpp
A flang/lib/Optimizer/Transforms/AlgebraicSimplification.cpp
M flang/lib/Optimizer/Transforms/CMakeLists.txt
M flang/lib/Optimizer/Transforms/PassDetail.h
A flang/test/Driver/bbc-mlir-pass-pipeline.f90
M flang/test/Driver/mlir-pass-pipeline.f90
M flang/test/Fir/basic-program.fir
M flang/tools/bbc/bbc.cpp
M flang/tools/tco/tco.cpp
Log Message:
-----------
[flang] Run algebraic simplification optimization pass.
Flang algebraic simplification pass will run algebraic simplification
rewrite patterns for Math/Complex/etc. dialects. It is enabled
under opt-for-speed optimization levels (i.e. for O1/O2/O3; Os/Oz will not
enable it).
With this change the FIR/MLIR optimization pipeline becomes affected
by the -O* optimization level switches. Until now these switches
only affected the middle-end and back-end.
Differential Revision: https://reviews.llvm.org/D130035
More information about the All-commits
mailing list