Skip to content

Generate LLVM min/max bound policy via Hadrian

John Ericson requested to merge wip/hadrian-ghc-llvm-version into master

Generate compiler/ghc-llvm-version.h.in 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 (closed) / 7dfcab2f as temporary kludge.

Part of #23966

Edited by John Ericson

Merge request reports