Vectorise unlifted and tuple tycons
authorRoman Leshchinskiy <rl@cse.unsw.edu.au>
Wed, 4 Jul 2007 05:56:52 +0000 (05:56 +0000)
committerRoman Leshchinskiy <rl@cse.unsw.edu.au>
Wed, 4 Jul 2007 05:56:52 +0000 (05:56 +0000)
compiler/vectorise/Vectorise.hs

index 648f0ab..0bf4f66 100644 (file)
@@ -204,7 +204,9 @@ paArgType' ty k
 
 vectTyCon :: TyCon -> VM TyCon
 vectTyCon tc
-  | isFunTyCon tc = builtin closureTyCon
+  | isFunTyCon tc        = builtin closureTyCon
+  | isBoxedTupleTyCon tc = return tc
+  | isUnLiftedTyCon tc   = return tc
   | otherwise = do
                   r <- lookupTyCon tc
                   case r of