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:
1d1c3c7
)
Vectorise polyexprs with notes
author
Roman Leshchinskiy
<rl@cse.unsw.edu.au>
Wed, 21 Nov 2007 05:31:02 +0000
(
05:31
+0000)
committer
Roman Leshchinskiy
<rl@cse.unsw.edu.au>
Wed, 21 Nov 2007 05:31:02 +0000
(
05:31
+0000)
compiler/vectorise/Vectorise.hs
patch
|
blob
|
history
diff --git
a/compiler/vectorise/Vectorise.hs
b/compiler/vectorise/Vectorise.hs
index
fac66ec
..
d85ef6a
100644
(file)
--- a/
compiler/vectorise/Vectorise.hs
+++ b/
compiler/vectorise/Vectorise.hs
@@
-216,6
+216,8
@@
vectLiteral lit
return (Lit lit, lexpr)
vectPolyExpr :: CoreExprWithFVs -> VM VExpr
+vectPolyExpr (_, AnnNote note expr)
+ = liftM (vNote note) $ vectPolyExpr expr
vectPolyExpr expr
= polyAbstract tvs $ \abstract ->
do