[GHC] #9732: Pattern synonyms and unboxed values
GHC
ghc-devs at haskell.org
Thu Oct 30 13:16:46 UTC 2014
#9732: Pattern synonyms and unboxed values
-------------------------------------+-------------------------------------
Reporter: monoidal | Owner: cactus
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.8.3
Resolution: | Keywords:
Operating System: | Architecture: Unknown/Multiple
Unknown/Multiple | Difficulty: Unknown
Type of failure: Compile- | Blocked By:
time crash | Related Tickets:
Test Case: |
Blocking: |
Differential Revisions: |
-------------------------------------+-------------------------------------
Comment (by simonpj):
* `cont` and `fail` should take an extra arg if (but only if) they have no
other value args, and the result type is unlifted. This is easy to test.
* Don't give them an extra arg of `()`. Rather use `voidPrimId`. This
is zero bits wide, and hence takes no instructions to pass. Just like
`mkWorkerArgs`.
* Yes, it's fine to give the `r` variable an `OpenTypeKind`. Similar to
the `errorId` definitions in `MkId`.
OK?
Simon
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9732#comment:12>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list