Commit d9049898 authored by rl@cse.unsw.edu.au's avatar rl@cse.unsw.edu.au
Browse files

Add vectorise subdirectory and dummy module

parent 91694be8
......@@ -367,7 +367,7 @@ SRC_HC_OPTS += -Istage$(stage)
ALL_DIRS = \
utils basicTypes types hsSyn prelude rename typecheck deSugar coreSyn \
specialise simplCore stranal stgSyn simplStg codeGen main \
vectorise specialise simplCore stranal stgSyn simplStg codeGen main \
profiling parser cprAnalysis ndpFlatten iface cmm
# Make sure we include Config.hs even if it doesn't exist yet...
......
......@@ -277,6 +277,7 @@ import-dirs: FPTOOLS_TOP_ABS"/compiler/stage"STAGE"/utils",
FPTOOLS_TOP_ABS"/compiler/stage"STAGE"/deSugar",
FPTOOLS_TOP_ABS"/compiler/stage"STAGE"/ghci",
FPTOOLS_TOP_ABS"/compiler/stage"STAGE"/coreSyn",
FPTOOLS_TOP_ABS"/compiler/stage"STAGE"/vectorise",
FPTOOLS_TOP_ABS"/compiler/stage"STAGE"/specialise",
FPTOOLS_TOP_ABS"/compiler/stage"STAGE"/simplCore",
FPTOOLS_TOP_ABS"/compiler/stage"STAGE"/stranal",
......
module Vectorise( vectorise )
where
#include "HsVersions.h"
import DynFlags
import HscTypes
vectorise :: HscEnv -> ModGuts -> IO ModGuts
vectorise hsc_env guts
| not (Opt_Vectorise `dopt` dflags) = return guts
| otherwise = return guts
where
dflags = hsc_dflags hsc_env
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment