Skip to content

add anyToAddr# :: (#a#)-> Addr# primop (inverse of addrToAny#)

I was talking with Reid Barton, and he pointed out that having a primop with type

anyToAddr# :: (#a#)-> Addr#

would help with a lot of performance hacking.

One use case would be running prefetch on lifted values without evaluating them.

Trac metadata
Trac field Value
Version 7.8.2
Type FeatureRequest
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information