diff options
author | Manuel M T Chakravarty <chak@cse.unsw.edu.au> | 2011-08-23 23:36:42 +1000 |
---|---|---|
committer | Manuel M T Chakravarty <chak@cse.unsw.edu.au> | 2011-08-24 22:44:09 +1000 |
commit | 82ac7ff381e0eaaf3e6e18c375b32a0d7463344a (patch) | |
tree | e40f09ccef35bfd96057e65c84201274ea1bf8c5 /compiler/vectorise/Vectorise.hs | |
parent | 1df6309ba719faa48ca6305bad1391e5907d55d9 (diff) | |
download | haskell-82ac7ff381e0eaaf3e6e18c375b32a0d7463344a.tar.gz |
Fixed reading and generating VectInfo as well as naming of vectorised versions of imported identifiers
Diffstat (limited to 'compiler/vectorise/Vectorise.hs')
-rw-r--r-- | compiler/vectorise/Vectorise.hs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/vectorise/Vectorise.hs b/compiler/vectorise/Vectorise.hs index 2f9035e500..c699441bb9 100644 --- a/compiler/vectorise/Vectorise.hs +++ b/compiler/vectorise/Vectorise.hs @@ -25,7 +25,6 @@ import CoreSyn import CoreMonad ( CoreM, getHscEnv ) import Type import Id -import OccName import DynFlags import BasicTypes ( isStrongLoopBreaker ) import Outputable @@ -250,7 +249,7 @@ vectTopBinder var inline expr -- Make the vectorised version of binding's name, and set the unfolding used for inlining ; var' <- liftM (`setIdUnfoldingLazily` unfolding) - $ cloneId mkVectOcc var vty + $ mkVectId var vty -- Add the mapping between the plain and vectorised name to the state. ; defGlobalVar var var' |