summaryrefslogtreecommitdiff
path: root/compiler/GHC/Builtin/PrimOps/Casts.hs
Commit message (Collapse)AuthorAgeFilesLines
* Properly cast values when writing/reading unboxed sums.Andreas Klebinger2022-11-301-0/+212
Unboxed sums might store a Int8# value as Int64#. This patch makes sure we keep track of the actual value type. See Note [Casting slot arguments] for the details.