
#16122: `round :: Double -> Int64` much slower than `fromIntegral @Int @Int64 . round` -------------------------------------+------------------------------------- Reporter: Fuuzetsu | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.6.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by Fuuzetsu): It seems the problem is that we only fire the {{{round/Double->Int64}}} rule and then for some reason we don't subsequently fire {{{round/Double->Int}}} rule. I don't know why that is. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/16122#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler