vectorise: Put it out of its misery
authorBen Gamari <bgamari.foss@gmail.com>
Sat, 2 Jun 2018 15:56:58 +0000 (11:56 -0400)
committerBen Gamari <ben@smart-cactus.org>
Sat, 2 Jun 2018 20:21:12 +0000 (16:21 -0400)
commitfaee23bb69ca813296da484bc177f4480bcaee9f
tree28e1c99f0de9d505c1df81ae7459839f5db4121c
parent13a86606e51400bc2a81a0e04cfbb94ada5d2620
vectorise: Put it out of its misery

Poor DPH and its vectoriser have long been languishing; sadly it seems there is
little chance that the effort will be rekindled. Every few years we discuss
what to do with this mass of code and at least once we have agreed that it
should be archived on a branch and removed from `master`. Here we do just that,
eliminating heaps of dead code in the process.

Here we drop the ParallelArrays extension, the vectoriser, and the `vector` and
`primitive` submodules.

Test Plan: Validate

Reviewers: simonpj, simonmar, hvr, goldfire, alanz

Reviewed By: simonmar

Subscribers: goldfire, rwbarton, thomie, mpickering, carter

Differential Revision: https://phabricator.haskell.org/D4761
208 files changed:
compiler/backpack/RnModIface.hs
compiler/basicTypes/MkId.hs
compiler/basicTypes/Module.hs
compiler/basicTypes/Name.hs
compiler/basicTypes/OccName.hs
compiler/basicTypes/Unique.hs
compiler/coreSyn/CoreFVs.hs
compiler/coreSyn/CoreLint.hs
compiler/coreSyn/CoreOpt.hs
compiler/coreSyn/CoreSyn.hs
compiler/coreSyn/PprCore.hs
compiler/deSugar/Check.hs
compiler/deSugar/Coverage.hs
compiler/deSugar/Desugar.hs
compiler/deSugar/DsArrows.hs
compiler/deSugar/DsExpr.hs
compiler/deSugar/DsListComp.hs
compiler/deSugar/DsMeta.hs
compiler/deSugar/DsMonad.hs
compiler/deSugar/DsUtils.hs
compiler/deSugar/Match.hs
compiler/deSugar/MatchCon.hs
compiler/deSugar/PmExpr.hs
compiler/ghc.cabal.in
compiler/hsSyn/HsDecls.hs
compiler/hsSyn/HsExpr.hs
compiler/hsSyn/HsExtension.hs
compiler/hsSyn/HsInstances.hs
compiler/hsSyn/HsPat.hs
compiler/hsSyn/HsTypes.hs
compiler/hsSyn/HsUtils.hs
compiler/iface/IfaceType.hs
compiler/iface/LoadIface.hs
compiler/iface/MkIface.hs
compiler/iface/TcIface.hs
compiler/iface/TcIface.hs-boot
compiler/main/DynFlags.hs
compiler/main/HscTypes.hs
compiler/main/Packages.hs
compiler/main/TidyPgm.hs
compiler/parser/Lexer.x
compiler/parser/Parser.y
compiler/parser/RdrHsSyn.hs
compiler/prelude/PrelNames.hs
compiler/prelude/TysWiredIn.hs
compiler/rename/RnExpr.hs
compiler/rename/RnPat.hs
compiler/rename/RnSource.hs
compiler/rename/RnTypes.hs
compiler/rename/RnUtils.hs
compiler/simplCore/CoreMonad.hs
compiler/simplCore/OccurAnal.hs
compiler/simplCore/SimplCore.hs
compiler/specialise/SpecConstr.hs
compiler/typecheck/FamInst.hs
compiler/typecheck/TcBinds.hs
compiler/typecheck/TcExpr.hs
compiler/typecheck/TcHsSyn.hs
compiler/typecheck/TcHsType.hs
compiler/typecheck/TcMatches.hs
compiler/typecheck/TcPat.hs
compiler/typecheck/TcPatSyn.hs
compiler/typecheck/TcRnDriver.hs
compiler/typecheck/TcRnMonad.hs
compiler/typecheck/TcRnTypes.hs
compiler/typecheck/TcUnify.hs
compiler/utils/Outputable.hs
compiler/vectorise/Vectorise.hs [deleted file]
compiler/vectorise/Vectorise/Builtins.hs [deleted file]
compiler/vectorise/Vectorise/Builtins/Base.hs [deleted file]
compiler/vectorise/Vectorise/Builtins/Initialise.hs [deleted file]
compiler/vectorise/Vectorise/Convert.hs [deleted file]
compiler/vectorise/Vectorise/Env.hs [deleted file]
compiler/vectorise/Vectorise/Exp.hs [deleted file]
compiler/vectorise/Vectorise/Generic/Description.hs [deleted file]
compiler/vectorise/Vectorise/Generic/PADict.hs [deleted file]
compiler/vectorise/Vectorise/Generic/PAMethods.hs [deleted file]
compiler/vectorise/Vectorise/Generic/PData.hs [deleted file]
compiler/vectorise/Vectorise/Monad.hs [deleted file]
compiler/vectorise/Vectorise/Monad/Base.hs [deleted file]
compiler/vectorise/Vectorise/Monad/Global.hs [deleted file]
compiler/vectorise/Vectorise/Monad/InstEnv.hs [deleted file]
compiler/vectorise/Vectorise/Monad/Local.hs [deleted file]
compiler/vectorise/Vectorise/Monad/Naming.hs [deleted file]
compiler/vectorise/Vectorise/Type/Classify.hs [deleted file]
compiler/vectorise/Vectorise/Type/Env.hs [deleted file]
compiler/vectorise/Vectorise/Type/TyConDecl.hs [deleted file]
compiler/vectorise/Vectorise/Type/Type.hs [deleted file]
compiler/vectorise/Vectorise/Utils.hs [deleted file]
compiler/vectorise/Vectorise/Utils/Base.hs [deleted file]
compiler/vectorise/Vectorise/Utils/Closure.hs [deleted file]
compiler/vectorise/Vectorise/Utils/Hoisting.hs [deleted file]
compiler/vectorise/Vectorise/Utils/PADict.hs [deleted file]
compiler/vectorise/Vectorise/Utils/Poly.hs [deleted file]
compiler/vectorise/Vectorise/Var.hs [deleted file]
compiler/vectorise/Vectorise/Vect.hs [deleted file]
docs/ndp/haskell.sty [deleted file]
docs/ndp/vect.tex [deleted file]
docs/users_guide/debugging.rst
docs/users_guide/extending_ghc.rst
docs/users_guide/glasgow_exts.rst
docs/users_guide/parallel.rst
docs/users_guide/using-optimisation.rst
ghc.mk
libraries/base/GHC/PArr.hs [deleted file]
libraries/base/base.cabal
libraries/dph [deleted submodule]
libraries/primitive [deleted submodule]
libraries/vector [deleted submodule]
packages
testsuite/tests/dph/Makefile [deleted file]
testsuite/tests/dph/classes/DefsVect.hs [deleted file]
testsuite/tests/dph/classes/Main.hs [deleted file]
testsuite/tests/dph/classes/Makefile [deleted file]
testsuite/tests/dph/classes/dph-classes-copy-fast.stdout [deleted file]
testsuite/tests/dph/classes/dph-classes-vseg-fast.stdout [deleted file]
testsuite/tests/dph/classes/dph-classes.T [deleted file]
testsuite/tests/dph/diophantine/DiophantineVect.hs [deleted file]
testsuite/tests/dph/diophantine/Main.hs [deleted file]
testsuite/tests/dph/diophantine/Makefile [deleted file]
testsuite/tests/dph/diophantine/dph-diophantine-copy-fast.stdout [deleted file]
testsuite/tests/dph/diophantine/dph-diophantine-copy-opt.stdout [deleted file]
testsuite/tests/dph/diophantine/dph-diophantine.T [deleted file]
testsuite/tests/dph/dotp/DotPVect.hs [deleted file]
testsuite/tests/dph/dotp/Main.hs [deleted file]
testsuite/tests/dph/dotp/Makefile [deleted file]
testsuite/tests/dph/dotp/dph-dotp-copy-fast.stdout [deleted file]
testsuite/tests/dph/dotp/dph-dotp-copy-opt.stdout [deleted file]
testsuite/tests/dph/dotp/dph-dotp-vseg-fast.stdout [deleted file]
testsuite/tests/dph/dotp/dph-dotp-vseg-opt.stdout [deleted file]
testsuite/tests/dph/dotp/dph-dotp.T [deleted file]
testsuite/tests/dph/enumfromto/EnumFromToP.hs [deleted file]
testsuite/tests/dph/enumfromto/Makefile [deleted file]
testsuite/tests/dph/enumfromto/dph-enumfromto.T [deleted file]
testsuite/tests/dph/modules/ExportList.hs [deleted file]
testsuite/tests/dph/modules/Makefile [deleted file]
testsuite/tests/dph/modules/dph-ExportList-vseg-fast.stderr [deleted file]
testsuite/tests/dph/modules/dph-modules.T [deleted file]
testsuite/tests/dph/nbody/Body.hs [deleted file]
testsuite/tests/dph/nbody/Config.hs [deleted file]
testsuite/tests/dph/nbody/Dump.hs [deleted file]
testsuite/tests/dph/nbody/Generate.hs [deleted file]
testsuite/tests/dph/nbody/Main.hs [deleted file]
testsuite/tests/dph/nbody/Makefile [deleted file]
testsuite/tests/dph/nbody/Randomish.hs [deleted file]
testsuite/tests/dph/nbody/Solver.hs [deleted file]
testsuite/tests/dph/nbody/Types.hs [deleted file]
testsuite/tests/dph/nbody/Util.hs [deleted file]
testsuite/tests/dph/nbody/World.hs [deleted file]
testsuite/tests/dph/nbody/dph-nbody-copy-fast.stdout [deleted file]
testsuite/tests/dph/nbody/dph-nbody-copy-opt.stdout [deleted file]
testsuite/tests/dph/nbody/dph-nbody-vseg-fast.stdout [deleted file]
testsuite/tests/dph/nbody/dph-nbody-vseg-opt.stdout [deleted file]
testsuite/tests/dph/nbody/dph-nbody.T [deleted file]
testsuite/tests/dph/primespj/Main.hs [deleted file]
testsuite/tests/dph/primespj/Makefile [deleted file]
testsuite/tests/dph/primespj/PrimesVect.hs [deleted file]
testsuite/tests/dph/primespj/dph-primespj-copy-fast.stdout [deleted file]
testsuite/tests/dph/primespj/dph-primespj-copy-opt.stdout [deleted file]
testsuite/tests/dph/primespj/dph-primespj-vseg-fast.stdout [deleted file]
testsuite/tests/dph/primespj/dph-primespj-vseg-opt.stdout [deleted file]
testsuite/tests/dph/primespj/dph-primespj.T [deleted file]
testsuite/tests/dph/quickhull/Main.hs [deleted file]
testsuite/tests/dph/quickhull/Makefile [deleted file]
testsuite/tests/dph/quickhull/QuickHullVect.hs [deleted file]
testsuite/tests/dph/quickhull/SVG.hs [deleted file]
testsuite/tests/dph/quickhull/TestData.hs [deleted file]
testsuite/tests/dph/quickhull/Types.hs [deleted file]
testsuite/tests/dph/quickhull/dph-quickhull-copy-fast.stdout [deleted file]
testsuite/tests/dph/quickhull/dph-quickhull-copy-opt.stdout [deleted file]
testsuite/tests/dph/quickhull/dph-quickhull-vseg-fast.stdout [deleted file]
testsuite/tests/dph/quickhull/dph-quickhull-vseg-opt.stdout [deleted file]
testsuite/tests/dph/quickhull/dph-quickhull.T [deleted file]
testsuite/tests/dph/smvm/Main.hs [deleted file]
testsuite/tests/dph/smvm/Makefile [deleted file]
testsuite/tests/dph/smvm/SMVMVect.hs [deleted file]
testsuite/tests/dph/smvm/dph-smvm-copy.stdout [deleted file]
testsuite/tests/dph/smvm/dph-smvm-vseg.stdout [deleted file]
testsuite/tests/dph/smvm/dph-smvm.T [deleted file]
testsuite/tests/dph/smvm/result-i386.txt [deleted file]
testsuite/tests/dph/smvm/result-sparc.txt [deleted file]
testsuite/tests/dph/smvm/result-x86_64.txt [deleted file]
testsuite/tests/dph/smvm/test-i386.dat [deleted file]
testsuite/tests/dph/smvm/test-sparc.dat [deleted file]
testsuite/tests/dph/smvm/test-x86_64.dat [deleted file]
testsuite/tests/dph/sumnats/Main.hs [deleted file]
testsuite/tests/dph/sumnats/Makefile [deleted file]
testsuite/tests/dph/sumnats/SumNatsVect.hs [deleted file]
testsuite/tests/dph/sumnats/dph-sumnats-copy.stdout [deleted file]
testsuite/tests/dph/sumnats/dph-sumnats-vseg.stdout [deleted file]
testsuite/tests/dph/sumnats/dph-sumnats.T [deleted file]
testsuite/tests/dph/words/Main.hs [deleted file]
testsuite/tests/dph/words/Makefile [deleted file]
testsuite/tests/dph/words/WordsVect.hs [deleted file]
testsuite/tests/dph/words/dph-words-copy-fast.stdout [deleted file]
testsuite/tests/dph/words/dph-words-copy-opt.stdout [deleted file]
testsuite/tests/dph/words/dph-words-vseg-fast.stdout [deleted file]
testsuite/tests/dph/words/dph-words-vseg-opt.stdout [deleted file]
testsuite/tests/dph/words/dph-words.T [deleted file]
testsuite/tests/ghc-api/T9015.hs
testsuite/tests/ghc-api/T9015.stdout
testsuite/tests/ghci/should_run/T7253.script
testsuite/tests/ghci/should_run/T7253.stderr
testsuite/tests/parser/should_compile/DumpRenamedAst.stderr
testsuite/tests/parser/should_compile/T14189.stderr
utils/ghctags/Main.hs
utils/haddock
validate