diff options
author | Qiu Chaofan <qiucofan@cn.ibm.com> | 2022-11-18 10:28:24 +0800 |
---|---|---|
committer | Qiu Chaofan <qiucofan@cn.ibm.com> | 2022-11-18 10:34:41 +0800 |
commit | cab9c02bd97f520cb8a01a9197505438581f7de8 (patch) | |
tree | 2dd3bfe14e7fb48ea4f30a89bdd1fad8a80d5ff1 /clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp | |
parent | a65d5309d5b73527efcbdec49a3ba9bba0fd873d (diff) | |
download | llvm-cab9c02bd97f520cb8a01a9197505438581f7de8.zip llvm-cab9c02bd97f520cb8a01a9197505438581f7de8.tar.gz llvm-cab9c02bd97f520cb8a01a9197505438581f7de8.tar.bz2 |
[Clang] Fix behavior of -ffp-model option when overriden
-ffp-model=strict -ffp-model=fast will still enable strict exception
handling behavior, therefore clang still emits constrained FP operations
in IR.
-ffp-model=fast -ffp-model=strict emits two warnings: one for strict
overriding fast, the other for strict overriding strict, which is
confusing.
Reviewed By: zahiraam
Differential Revision: https://reviews.llvm.org/D137618
Diffstat (limited to 'clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions