[all-commits] [llvm/llvm-project] f1eb94: [flang] Propagate lowering options from driver.
Slava Zakharin via All-commits
all-commits at lists.llvm.org
Fri Aug 5 11:32:30 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f1eb945f9a5037b1fac6da02405047b24c0c2de5
https://github.com/llvm/llvm-project/commit/f1eb945f9a5037b1fac6da02405047b24c0c2de5
Author: Slava Zakharin <szakharin at nvidia.com>
Date: 2022-08-05 (Fri, 05 Aug 2022)
Changed paths:
M flang/include/flang/Frontend/CompilerInvocation.h
M flang/include/flang/Lower/AbstractConverter.h
M flang/include/flang/Lower/Bridge.h
A flang/include/flang/Lower/LoweringOptions.h
M flang/lib/Frontend/CompilerInstance.cpp
M flang/lib/Frontend/CompilerInvocation.cpp
M flang/lib/Frontend/FrontendActions.cpp
M flang/lib/Lower/Bridge.cpp
M flang/lib/Lower/ConvertExpr.cpp
M flang/test/Lower/Intrinsics/transpose.f90
M flang/test/Lower/Intrinsics/transpose_opt.f90
M flang/tools/bbc/bbc.cpp
Log Message:
-----------
[flang] Propagate lowering options from driver.
This commit addresses concerns raised in D129497.
Propagate lowering options from driver to expressions lowering
via AbstractConverter instance. A single use case so far is
using optimized TRANSPOSE lowering with O1/O2/O3.
bbc does not support optimization level switches, so it uses
default LoweringOptions (e.g. optimized TRANSPOSE lowering
is enabled by default, but an engineering -opt-transpose=false
option can still override this).
Differential Revision: https://reviews.llvm.org/D130204
More information about the All-commits
mailing list