projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Implement INLINABLE pragma
[ghc-hetmet.git]
/
compiler
/
vectorise
/
Vectorise
/
Type
/
Env.hs
diff --git
a/compiler/vectorise/Vectorise/Type/Env.hs
b/compiler/vectorise/Vectorise/Type/Env.hs
index
8e26ed9
..
06bd789
100644
(file)
--- a/
compiler/vectorise/Vectorise/Type/Env.hs
+++ b/
compiler/vectorise/Vectorise/Type/Env.hs
@@
-182,7
+182,7
@@
vectDataConWorkers orig_tc vect_tc arr_tc
raw_worker <- cloneId mkVectOcc orig_worker (exprType body)
let vect_worker = raw_worker `setIdUnfolding`
- mkInlineRule body (Just arity)
+ mkInlineUnfolding (Just arity) body
defGlobalVar orig_worker vect_worker
return (vect_worker, body)
where