On Jan 20, 2020, at 9:45 AM, Csaba Hruska <csaba.hruska@gmail.com> wrote:_______________________________________________Hello,According to GHC Wiki it seems that only primitive types can be unlifted.Is this true in general? (i.e. no user type can be unlifted)<image.png>
Does the Stg to Cmm codegen support compilation for a variable of user defined ADT as unlifted?i.e. some analysis proved that it is always a constructor and never a thunk.Thanks,Csaba
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs