
#14626: No need to enter a scrutinised value -------------------------------------+------------------------------------- Reporter: heisenbug | Owner: heisenbug Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.2.2 Resolution: | Keywords: performance Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #13861 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by alexbiehl): Indeed GHC seems to unnecessarily enter `MkT`s argument! {{{ ... c1ab: // global R1 = P64[R1 + 7] & (-8); -- load constructor arg -- and untag(!) it Sp = Sp + 8; call (I64[R1])(R1) args: 8, res: 0, upd: 8; -- and enter it! }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14626#comment:15 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler