projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6bd4bdc
)
Don't treat enumerations specially during vectorisation for the moment
author
Roman Leshchinskiy
<rl@cse.unsw.edu.au>
Mon, 19 Nov 2007 01:37:29 +0000
(
01:37
+0000)
committer
Roman Leshchinskiy
<rl@cse.unsw.edu.au>
Mon, 19 Nov 2007 01:37:29 +0000
(
01:37
+0000)
compiler/vectorise/VectType.hs
patch
|
blob
|
history
diff --git
a/compiler/vectorise/VectType.hs
b/compiler/vectorise/VectType.hs
index
a9db43c
..
e69bfd9
100644
(file)
--- a/
compiler/vectorise/VectType.hs
+++ b/
compiler/vectorise/VectType.hs
@@
-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