[commit: ghc] master: Fix tidying of vectorised code (82a3037)

Manuel Chakravarty chak at cse.unsw.edu.au
Wed Feb 6 04:17:18 CET 2013


Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/82a30378475143438d9141b671ac0944333a836f

>---------------------------------------------------------------

commit 82a30378475143438d9141b671ac0944333a836f
Author: Manuel M T Chakravarty <chak at cse.unsw.edu.au>
Date:   Mon Feb 4 12:48:00 2013 +1100

    Fix tidying of vectorised code
    
    * We need to keep the vectorised version of a variable alive while the original is alive.
    * This implies that the vectorised version needs to get into the iface if the original appears in an unfolding.

 compiler/coreSyn/CoreSubst.lhs      |    2 +-
 compiler/main/TidyPgm.lhs           |   14 ++++++++++----
 compiler/simplCore/OccurAnal.lhs    |   15 ++++++++++-----
 compiler/simplCore/SimplCore.lhs    |   22 ++++++++++++++++------
 compiler/vectorise/Vectorise.hs     |    2 +-
 compiler/vectorise/Vectorise/Env.hs |    7 +++----
 compiler/vectorise/Vectorise/Exp.hs |    9 +++++++--
 7 files changed, 48 insertions(+), 23 deletions(-)


Diff suppressed because of size. To see it, use:

    git show 82a30378475143438d9141b671ac0944333a836f



More information about the ghc-commits mailing list