[clang] [Driver] Introduce ffp-model=aggressive (PR #100453)
Fangrui Song via cfe-commits
cfe-commits at lists.llvm.org
Sat Aug 17 10:55:32 PDT 2024
================
@@ -3033,8 +3039,8 @@ static void RenderFloatingPointOptions(const ToolChain &TC, const Driver &D,
SignedZeros = true;
StringRef Val = A->getValue();
- if (OFastEnabled && Val != "fast") {
- // Only -ffp-model=fast is compatible with OFast, ignore.
+ if (OFastEnabled && Val != "aggressive") {
+ // Only -ffp-model=aggressive is compatible with OFast, ignore.
----------------
MaskRay wrote:
`-Ofast`.
There isn't a variable named `OFast`.
https://github.com/llvm/llvm-project/pull/100453
More information about the cfe-commits
mailing list