X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2Fvectorise%2FVectType.hs;h=9952121eae07f5cd92806ed88507e0895dcb8392;hp=ae39cac961470ad608a4013684b81af460e528ce;hb=e79c9ce01d0ce4412bd4bcd99c8c728a6a2ec569;hpb=6ccd648bf016aa9cfa13612f0f19be6badea16d1 diff --git a/compiler/vectorise/VectType.hs b/compiler/vectorise/VectType.hs index ae39cac..9952121 100644 --- a/compiler/vectorise/VectType.hs +++ b/compiler/vectorise/VectType.hs @@ -943,13 +943,6 @@ buildPADict repr vect_tc prepr_tc arr_tc _ 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, Repr -> TyCon -> TyCon -> TyCon -> VM CoreExpr)] paMethods = [(fsLit "toPRepr", buildToPRepr), (fsLit "fromPRepr", buildFromPRepr),