Trying to use -fno-local-float-out
results in “ghc-9.4.8: unrecognised flag: -fno-local-float-out”. And sure enough it doesn’t seem to exist if I run ghc --show-options | grep -e '-fno-local-float-out'
. The documentation references fno-local-float-out
in 5.3. Optimisation (code improvement) — Glasgow Haskell Compiler 9.12.1 User's Guide , what gives?
For context, I’m working on my own haskell-like language and I’d want to benchmark it against ghc, and I want to disable statically discoverable rearrangement optimizations which I don’t have yet to get a better apples-to-apples comparison of the runtime.