[all-commits] [llvm/llvm-project] 8f3f15: [flang] Configure FirOpBuilder based on math drive...
Slava Zakharin via All-commits
all-commits at lists.llvm.org
Mon Nov 7 09:27:09 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8f3f15c1a208932689a8bdef22d6ca3d4c3408c5
https://github.com/llvm/llvm-project/commit/8f3f15c1a208932689a8bdef22d6ca3d4c3408c5
Author: Slava Zakharin <szakharin at nvidia.com>
Date: 2022-11-07 (Mon, 07 Nov 2022)
Changed paths:
A flang/include/flang/Common/MathOptionsBase.def
A flang/include/flang/Common/MathOptionsBase.h
M flang/include/flang/Lower/LoweringOptions.h
M flang/include/flang/Optimizer/Builder/FIRBuilder.h
M flang/lib/Frontend/CompilerInvocation.cpp
M flang/lib/Lower/Bridge.cpp
M flang/lib/Lower/LoweringOptions.cpp
M flang/lib/Optimizer/Builder/FIRBuilder.cpp
A flang/test/Lower/fast-math-arithmetic.f90
Log Message:
-----------
[flang] Configure FirOpBuilder based on math driver options.
Added MathOptionsBase to share fastmath config between different
components. Frontend driver translates LangOptions into MathOptionsBase.
FirConverter configures FirOpBuilder using MathOptionsBase
config passed to it via LoweringOptions.
Depends on D137390
Reviewed By: jeanPerier
Differential Revision: https://reviews.llvm.org/D137391
More information about the All-commits
mailing list