[clang] Fix bug with -ffp-contract=fast-honor-pragmas (PR #104857)

Andy Kaylor via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 20 10:56:33 PDT 2024


andykaylor wrote:

> LGTM. Thanks. I had to double check, but it looks like the LIT test `ffp-contract-fast-honor-pragma-option.cpp` has the same behavior with and without this patch. Right? Aren't there already tests that check the output of the option?

Yes, the `ffp-contract-fast-honor-pragma-option.cpp` is testing existing behavior. The existing tests didn't cover this.

https://github.com/llvm/llvm-project/pull/104857


More information about the cfe-commits mailing list