X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2Fvectorise%2FVectType.hs;h=7b9ec50e8366b4bab4610cb960492dea5a4f7e12;hp=7540e1a14df32382705a00e9e80203ce17677590;hb=72462499b891d5779c19f3bda03f96e24f9554ae;hpb=ad23a496a860063ab01025051d9c9baf45725a61 diff --git a/compiler/vectorise/VectType.hs b/compiler/vectorise/VectType.hs index 7540e1a..7b9ec50 100644 --- a/compiler/vectorise/VectType.hs +++ b/compiler/vectorise/VectType.hs @@ -815,6 +815,13 @@ buildPADict vect_tc prepr_tc arr_tc repr var <- newLocalVar name (exprType body) return (var, mkInlineMe body) +-- The InlineMe note has gone away. Instead, you need to use +-- CoreUnfold.mkInlineRule to make an InlineRule for the thing, and +-- attach *that* as the unfolding for the dictionary binder +mkInlineMe :: CoreExpr -> CoreExpr +mkInlineMe expr = pprTrace "VectType: Roman, you need to use the new InlineRule story" + (ppr expr) expr + paMethods :: [(FastString, TyCon -> TyCon -> TyCon -> SumRepr -> VM CoreExpr)] paMethods = [(fsLit "dictPRepr", buildPRDict), (fsLit "toPRepr", buildToPRepr),