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:
1c4593f
)
(no commit message)
author
keller@cse.unsw.edu.au
<unknown>
Wed, 2 Feb 2011 05:14:08 +0000
(
05:14
+0000)
committer
keller@cse.unsw.edu.au
<unknown>
Wed, 2 Feb 2011 05:14:08 +0000
(
05:14
+0000)
compiler/vectorise/Vectorise/Exp.hs
patch
|
blob
|
history
diff --git
a/compiler/vectorise/Vectorise/Exp.hs
b/compiler/vectorise/Vectorise/Exp.hs
index
d792fd6
..
862a760
100644
(file)
--- a/
compiler/vectorise/Vectorise/Exp.hs
+++ b/
compiler/vectorise/Vectorise/Exp.hs
@@
-176,8
+176,8
@@
vectScalarLam
vectScalarLam args body
= do scalars <- globalScalars
- onlyIfV (all is_scalar_ty arg_tys
- && is_scalar_ty res_ty
+ onlyIfV (all is_prim_ty arg_tys
+ && is_prim_ty res_ty
&& is_scalar (extendVarSetList scalars args) body
&& uses scalars body)
$ do