Qiu Chaofan
cab9c02bd9
[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
2022-11-18 10:34:41 +08:00
Nikita Popov
39db5e1ed8
[CodeGen] Convert tests to opaque pointers (NFC)
...
Conversion performed using the script at:
https://gist.github.com/nikic/98357b71fd67756b0f064c9517b62a34
These are only tests where no manual fixup was required.
2022-10-07 14:22:00 +02:00
Nikita Popov
b16a3b4f3b
[Clang] Add -no-opaque-pointers to more tests (NFC)
...
This adds the flag to more tests that were not caught by the
mass-migration in 532dc62b90
.
2022-04-07 12:53:29 +02:00
Zahira Ammarguellat
f04e387055
Making the code compliant to the documentation about Floating Point
...
support default values for C/C++. FPP-MODEL=PRECISE enables
FFP-CONTRACT(FMA is enabled).
Fix for https://bugs.llvm.org/show_bug.cgi?id=50222
2021-11-11 07:40:35 -05:00
Aaron Ballman
190bde404c
Revert "Making the code compliant to the documentation about Floating Point"
...
This reverts commit 438437cbb6
.
There are still broken bots from this:
https://lab.llvm.org/buildbot/#/builders/188/builds/5495
https://lab.llvm.org/buildbot/#/builders/171/builds/5710
2021-11-08 11:43:49 -05:00
Zahira Ammarguellat
438437cbb6
Making the code compliant to the documentation about Floating Point
...
support default values for C/C++. FPP-MODEL=PRECISE enables FFP-CONTRACT
FMA is enabled.
Fix for https://bugs.llvm.org/show_bug.cgi?id=50222
2021-11-08 08:35:19 -05:00
Nico Weber
0425087b8b
Revert "Making the code compliant to the documentation about Floating Point"
...
This reverts commit 17d9560294
.
Breaks check-clang everywhere, see e.g.:
https://lab.llvm.org/buildbot/#/builders/105/builds/17229
https://lab.llvm.org/buildbot/#/builders/109/builds/25831
https://lab.llvm.org/buildbot/#/builders/188/builds/5493
https://lab.llvm.org/buildbot/#/builders/123/builds/7073
2021-11-08 08:32:42 -05:00
Zahira Ammarguellat
17d9560294
Making the code compliant to the documentation about Floating Point
...
support default values for C/C++. FPP-MODEL=PRECISE enables FFP-CONTRACT
FMA is enabled.
Fix for https://bugs.llvm.org/show_bug.cgi?id=50222
2021-11-08 07:51:29 -05:00