X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Fvectorise%2FVectType.hs;h=f31ecd8b8b81d26d56388d0df4382b10461e54f8;hb=65277a1c9ff86c28c656849d6f6cbb392f1eb3e7;hp=16ac82adcaac488255748067c818e483676b6d77;hpb=c86161c5cf11de77e911fcb9e1e2bd1f8bd80b42;p=ghc-hetmet.git diff --git a/compiler/vectorise/VectType.hs b/compiler/vectorise/VectType.hs index 16ac82a..f31ecd8 100644 --- a/compiler/vectorise/VectType.hs +++ b/compiler/vectorise/VectType.hs @@ -24,7 +24,7 @@ import OccName import Id import MkId import BasicTypes ( StrictnessMark(..), boolToRecFlag, - dfunInlinePragma ) + alwaysInlinePragma, dfunInlinePragma ) import Var ( Var, TyVar, varType ) import Name ( Name, getOccName ) import NameEnv @@ -831,6 +831,7 @@ buildPADict vect_tc prepr_tc arr_tc repr raw_var <- newExportedVar (method_name name) (exprType body) let var = raw_var `setIdUnfolding` mkInlineRule needSaturated body (length args) + `setInlinePragma` alwaysInlinePragma hoistBinding var body return var