Skip to content

Support GHC 9.2 - #99

Merged
lehins merged 1 commit into
haskell:masterfrom
kakkun61:ghc-9.2
Apr 2, 2021
Merged

lehins merged 1 commit into
haskell:masterfrom
kakkun61:ghc-9.2

Conversation

@kakkun61

@kakkun61 kakkun61 commented Apr 2, 2021

Copy link
Copy Markdown
Contributor

Tested with GHC 9.2.1 α1.

@lehins
lehins merged commit edae4f7 into haskell:master Apr 2, 2021
@andrewthad

Copy link
Copy Markdown

Not that there's anything that could have been done differently in this PR, but it would be nice if GHC provided a ordW32# so that

charToWord32 (C# c#) = W32# (wordToWord32# (int2Word# (ord# c#)))

could become

charToWord32 (C# c#) = W32# (ordW32# c#)

so that during codegen, GHC wouldn't have to try to get rid of the "mask out the upper bits" operation that wordToWord32# normally needs to perform.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants