Cmm: track the type of global registers
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 ofGlobalReg
by removing theVGcPtr
field. This information should instead be recovered from theCmmType
of theGlobalRegUse
. -
Make AvailRegs
into a datatype.
Edited by sheaf
Merge request reports
Activity
added 1 commit
- d04dc395 - Cmm: refactor VanillaReg to not store VGcPtr
added 8 commits
-
6c2f5b0f...62a55001 - 5 commits from branch
ghc:master
- 61b04ea5 - Cmm: track the type of global registers
- b3acab0e - Cmm: refactor VanillaReg to not store VGcPtr
- e561f0a2 - Cmm: don't narrow/extend into registers
Toggle commit list-
6c2f5b0f...62a55001 - 5 commits from branch
- Resolved by sheaf
added 18 commits
-
c2bd8e3d...ba4bd4a4 - 17 commits from branch
ghc:master
- c3cd40dc - Cmm: track the type of global registers
-
c2bd8e3d...ba4bd4a4 - 17 commits from branch
- Resolved by sheaf
requested review from @bgamari
added 472 commits
-
362b2562...f4d50baf - 471 commits from branch
ghc:master
- d096bc38 - Cmm: track the type of global registers
-
362b2562...f4d50baf - 471 commits from branch
@sheaf, I have gone ahead and rebased this as both Alexis and I have broken it in the intervening months while it was sitting in my review queue.
Please register or sign in to reply