https://github.com/llvm/llvm-project/pull/191363:
These should use O2 with the optsize or minsize attributes instead.
This enforces that there is no divergence between pipeline-level Os/Oz and function-level Os/Oz at an architectural level.
For the purpose of testing IR that does not have optsize/minsize itself, it’s possible to use -force-attribute=optsize etc.
И $ clang-23 --help | ugrep -i ofast:
1675: -Ofast Deprecated; use ‘-O3 -ffast-math’ for the same behavior, or ‘-O3’ to enable only conforming optimizations

