Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • GHC GHC
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 5,245
    • Issues 5,245
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 568
    • Merge requests 568
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Glasgow Haskell CompilerGlasgow Haskell Compiler
  • GHCGHC
  • Merge requests
  • !2931

[WIP] Implement CNF support for non-CAFFY functions

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Ömer Sinan Ağacan requested to merge osa1/ghc:compact_non_caffy_funs into master Mar 20, 2020
  • Overview 1
  • Commits 1
  • Pipelines 1
  • Changes 6

Just a proof of concept. Commit message below.


This patch allows adding non-CAFFY functions to compact regions. Because non-CAFFY functions don't have any garbage collected references other than stuff in the payload this operation should be safe.

Other changes:

  • Renamed HALF_W_ Cmm macro to TO_HALF_W_. This is more consistent with other TO_ macros.
  • HALF_W_ is now a Cmm type macro for bits16 on 32-bit, bits32 on 64-bit.
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: compact_non_caffy_funs