ghc-8.2.0.20170404: The GHC API

Safe HaskellNone
LanguageHaskell2010

Vectorise.Convert (signature[?])

Synopsis

Documentation

fromVect Source #

Arguments

:: Type

The type of the original binding.

-> CoreExpr

Expression giving the closure to use, eg $v_foo.

-> VM CoreExpr 

Convert a vectorised expression such that it computes the non-vectorised equivalent of its value.

For functions, we eta expand the function and convert the arguments and result: