summaryrefslogtreecommitdiff
path: root/compiler/vectorise/Vectorise/Exp.hs
diff options
context:
space:
mode:
authorManuel M T Chakravarty <chak@cse.unsw.edu.au>2011-11-18 15:05:01 +1100
committerManuel M T Chakravarty <chak@cse.unsw.edu.au>2011-11-18 16:22:48 +1100
commit62a34c723287a73b65f6f9fa7d673bd8aa682866 (patch)
tree51cb4c78f80e84177c10a54cbee13d27a813a3de /compiler/vectorise/Vectorise/Exp.hs
parent96daec089a14182ac7d5e971e39b729361839777 (diff)
downloadhaskell-62a34c723287a73b65f6f9fa7d673bd8aa682866.tar.gz
Fix the vectorisation of workers of data constructors
Diffstat (limited to 'compiler/vectorise/Vectorise/Exp.hs')
-rw-r--r--compiler/vectorise/Vectorise/Exp.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/vectorise/Vectorise/Exp.hs b/compiler/vectorise/Vectorise/Exp.hs
index ca7b13f866..8afe149496 100644
--- a/compiler/vectorise/Vectorise/Exp.hs
+++ b/compiler/vectorise/Vectorise/Exp.hs
@@ -522,7 +522,8 @@ unVectDict ty e
-- |Vectorise an 'n'-ary lambda abstraction by building a set of 'n' explicit closures.
--
-- All non-dictionary free variables go into the closure's environment, whereas the dictionary
--- variables are passed explicit (as conventional arguments) into the body during closure construction.
+-- variables are passed explicit (as conventional arguments) into the body during closure
+-- construction.
--
vectLam :: Bool -- ^ When the RHS of a binding, whether that binding should be inlined.
-> Bool -- ^ Whether the binding is a loop breaker.