Skip to content
Snippets Groups Projects

Cmm: track the type of global registers

Closed sheaf requested to merge sheaf/ghc:cmm-typed-registers into master

This is an attempt to keep track of the types we store in Cmm global registers. This is meant to address #22297 (closed). Putting it up for preliminary discussion only, for the moment.

TODO:

  • Refactor the VanillaReg constructor of GlobalReg by removing the VGcPtr field. This information should instead be recovered from the CmmType of the GlobalRegUse.
  • Make AvailRegs into a datatype.
Edited by sheaf

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading