X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2Fvectorise%2FVectUtils.hs;h=958c5e6fd7a03c95b17c499da950ce1415f47853;hp=b9c4597c0a29bfe4d91856d614ca3314ee49c4b3;hb=ee79af08084c320762b6b684e2ce8198395cf089;hpb=49dca6ac4a383c6dd699263f96c2f65959782128 diff --git a/compiler/vectorise/VectUtils.hs b/compiler/vectorise/VectUtils.hs index b9c4597..958c5e6 100644 --- a/compiler/vectorise/VectUtils.hs +++ b/compiler/vectorise/VectUtils.hs @@ -68,7 +68,7 @@ isAnnTypeArg (_, AnnType t) = True isAnnTypeArg _ = False mkDataConTag :: DataCon -> CoreExpr -mkDataConTag dc = mkConApp intDataCon [mkIntLitInt $ dataConTag dc] +mkDataConTag = mkIntLitInt . dataConTag splitUnTy :: String -> Name -> Type -> Type splitUnTy s name ty