[GHC] #14282: tagToEnum# . dataToTag# not optimized away
GHC
ghc-devs at haskell.org
Tue Feb 20 04:53:29 UTC 2018
#14282: tagToEnum# . dataToTag# not optimized away
-------------------------------------+-------------------------------------
Reporter: dfeuer | Owner: dfeuer
Type: bug | Status: patch
Priority: normal | Milestone: 8.6.1
Component: Compiler | Version: 8.2.1
Resolution: | Keywords: datacon-tags
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s): Phab:D4375
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Ben Gamari <ben@…>):
In [changeset:"517c194095064c123b18b779c96c0866e0b3a6d9/ghc"
517c1940/ghc]:
{{{
#!CommitTicketReference repository="ghc"
revision="517c194095064c123b18b779c96c0866e0b3a6d9"
Document missing dataToTag# . tagToEnum# rule
Explain why we don't have a rule to optimize `dataToTag# (tagToEnum# x)`
to `x`.
[skip ci]
Reviewers: bgamari
Reviewed By: bgamari
Subscribers: rwbarton, thomie, carter
GHC Trac Issues: #14282
Differential Revision: https://phabricator.haskell.org/D4375
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14282#comment:10>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list