Generate LLVM min/max bound policy via Hadrian
Per #23966, I want the top-level configure to only generate configuration data for Hadrian, not do any "real" tasks on its own. This is part of that effort --- one less file generated by it. (It is still done with a `.in` file, so in a future world non-Hadrian also can easily create this file.) Split modules: - GHC.CmmToLlvm.Config - GHC.CmmToLlvm.Version - GHC.CmmToLlvm.Version.Bounds - GHC.CmmToLlvm.Version.Type This also means we can get rid of the silly `unused.h` introduced in !6803 / 7dfcab2f as temporary kludge. Part of #23966
Showing
- .gitignore 1 addition, 3 deletions.gitignore
- compiler/GHC/CmmToLlvm.hs 1 addition, 0 deletionscompiler/GHC/CmmToLlvm.hs
- compiler/GHC/CmmToLlvm/Base.hs 1 addition, 0 deletionscompiler/GHC/CmmToLlvm/Base.hs
- compiler/GHC/CmmToLlvm/Config.hs 1 addition, 55 deletionscompiler/GHC/CmmToLlvm/Config.hs
- compiler/GHC/CmmToLlvm/Version.hs 43 additions, 0 deletionscompiler/GHC/CmmToLlvm/Version.hs
- compiler/GHC/CmmToLlvm/Version/Bounds.hs.in 19 additions, 0 deletionscompiler/GHC/CmmToLlvm/Version/Bounds.hs.in
- compiler/GHC/CmmToLlvm/Version/Type.hs 11 additions, 0 deletionscompiler/GHC/CmmToLlvm/Version/Type.hs
- compiler/GHC/SysTools/Cpp.hs 1 addition, 1 deletioncompiler/GHC/SysTools/Cpp.hs
- compiler/GHC/SysTools/Tasks.hs 1 addition, 1 deletioncompiler/GHC/SysTools/Tasks.hs
- compiler/ghc-llvm-version.h.in 0 additions, 10 deletionscompiler/ghc-llvm-version.h.in
- compiler/ghc.cabal.in 3 additions, 2 deletionscompiler/ghc.cabal.in
- configure.ac 0 additions, 16 deletionsconfigure.ac
- hadrian/src/Hadrian/Haskell/Cabal/Parse.hs 12 additions, 1 deletionhadrian/src/Hadrian/Haskell/Cabal/Parse.hs
- hadrian/src/Rules/Generate.hs 9 additions, 1 deletionhadrian/src/Rules/Generate.hs
- hadrian/src/Rules/Lint.hs 2 additions, 1 deletionhadrian/src/Rules/Lint.hs
- hadrian/src/Rules/SourceDist.hs 0 additions, 1 deletionhadrian/src/Rules/SourceDist.hs
Please register or sign in to comment