ghc-9.12: The GHC API
Safe HaskellNone
LanguageGHC2021

GHC.Builtin.PrimOps.Casts

Synopsis

Documentation

getCasts :: PrimRep -> PrimRep -> [(PrimOp, Type)] Source #

`getCasts from_rep to_rep` gives us a list of primops which when applied in order convert from_rep to to_rep. See Note [PrimRep based casting]