================ @@ -495,10 +495,12 @@ New Compiler Flags Deprecated Compiler Flags ------------------------- -- The ``-Ofast`` command-line option has been deprecated. This option both - enables the ``-O3`` optimization-level, as well as enabling non-standard - ``-ffast-math`` behaviors. As such, it is somewhat misleading as an - "optimization level". Users are advised to switch to ``-O3 -ffast-math`` if +- The ``-Ofast`` command-line option has been deprecated, but there is no + timeline for removal yet. Thus, the main effect of emitting a deprecation + warning message is to discourage its usage due to the problems of ``-Ofast``: + it enables both the ``-O3`` optimization-level as well as non-standard + ``-ffast-math`` behaviors and as such it is perceived to be misleading as an + optimization level. Users are advised to switch to ``-O3 -ffast-math`` if ---------------- AaronBallman wrote:
```suggestion - The ``-Ofast`` command-line option has been deprecated, but there is no timeline for removal. Deprecation is intended to discourage use of the flag due to the problems of ``-Ofast``: it enables both the ``-O3`` optimization level as well as non-standard ``-ffast-math`` behaviors and as such it is misleading as an optimization level. Users are advised to switch to ``-O3 -ffast-math`` if ``` https://github.com/llvm/llvm-project/pull/101005 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits