X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2Fvectorise%2FVectorise.hs;h=d5b78f14daf5a6af639ddc3badfb26c7e339aee6;hp=a42298fb16ed4bb34cf792099d01aaec344a0b43;hb=3aff16171d3bd0c27826c8947edf8fff7d07fef2;hpb=9d899efe741906ad957cf3ad84122f62c73a9de6 diff --git a/compiler/vectorise/Vectorise.hs b/compiler/vectorise/Vectorise.hs index a42298f..d5b78f1 100644 --- a/compiler/vectorise/Vectorise.hs +++ b/compiler/vectorise/Vectorise.hs @@ -404,7 +404,7 @@ mkClosureMonoFns info arg body return . Let (NonRec lbndr lenv) $ Case (mkApps (Var lengthPA) [Type vty, (Var lbndr)]) lc_bndr - intPrimTy + (exprType lbody) [(DEFAULT, [], lbody)] bind_lenv lenv lbody lc_bndr lbndrs