Don't treat enumerations specially during vectorisation for the moment
authorRoman Leshchinskiy <rl@cse.unsw.edu.au>
Mon, 19 Nov 2007 01:37:29 +0000 (01:37 +0000)
committerRoman Leshchinskiy <rl@cse.unsw.edu.au>
Mon, 19 Nov 2007 01:37:29 +0000 (01:37 +0000)
compiler/vectorise/VectType.hs

index a9db43c..e69bfd9 100644 (file)
@@ -431,7 +431,7 @@ arrReprVars repr
 mkRepr :: TyCon -> VM Repr
 mkRepr vect_tc
   | [tys] <- rep_tys = boxedProductRepr tys
-  | all null rep_tys = enumRepr
+  -- | all null rep_tys = enumRepr
   | otherwise        = sumRepr =<< mapM unboxedProductRepr rep_tys
   where
     rep_tys = map dataConRepArgTys $ tyConDataCons vect_tc