[all-commits] [llvm/llvm-project] cab9c0: [Clang] Fix behavior of -ffp-model option when ove...
Qiu Chaofan via All-commits
all-commits at lists.llvm.org
Thu Nov 17 18:35:02 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: cab9c02bd97f520cb8a01a9197505438581f7de8
https://github.com/llvm/llvm-project/commit/cab9c02bd97f520cb8a01a9197505438581f7de8
Author: Qiu Chaofan <qiucofan at cn.ibm.com>
Date: 2022-11-18 (Fri, 18 Nov 2022)
Changed paths:
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/test/CodeGen/ffp-model.c
M clang/test/Driver/fp-model.c
Log Message:
-----------
[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
More information about the All-commits
mailing list