
Jaro Reinders pushed to branch wip/T17521 at Glasgow Haskell Compiler / GHC Commits: c3527495 by jaro at 2025-06-07T17:48:56+02:00 Fix bad 3 - - - - - 964814b9 by jaro at 2025-06-07T17:49:41+02:00 Fix ghci panic - - - - - 2 changed files: - compiler/GHC/CoreToStg/Prep.hs - − compiler/ghc-llvm-version.h Changes: ===================================== compiler/GHC/CoreToStg/Prep.hs ===================================== @@ -2257,8 +2257,8 @@ decideFloatInfo FIA{fia_levity=lev, fia_demand=dmd, fia_is_hnf=is_hnf, | is_string = (CaseBound, TopLvlFloatable) -- String literals are unboxed (so must be case-bound) and float to -- the top-level - | ok_for_spec = (CaseBound, case lev of Unlifted -> LazyContextFloatable - Lifted -> TopLvlFloatable) + -- TODO: figre out if ok_for_spec is a good enough predicate for floating unlifted bindings + | ok_for_spec = (CaseBound, TopLvlFloatable) -- See Note [Speculative evaluation] -- Ok-for-spec-eval things will be case-bound, lifted or not. -- But when it's lifted we are ok with floating it to top-level ===================================== compiler/ghc-llvm-version.h deleted ===================================== @@ -1,11 +0,0 @@ -/* compiler/ghc-llvm-version.h. Generated from ghc-llvm-version.h.in by configure. */ -#if !defined(__GHC_LLVM_VERSION_H__) -#define __GHC_LLVM_VERSION_H__ - -/* The maximum supported LLVM version number */ -#define sUPPORTED_LLVM_VERSION_MAX (16) - -/* The minimum supported LLVM version number */ -#define sUPPORTED_LLVM_VERSION_MIN (11) - -#endif /* __GHC_LLVM_VERSION_H__ */ View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/e26d888ada08f404e2b4a4d3d38014f... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/e26d888ada08f404e2b4a4d3d38014f... You're receiving this email because of your account on gitlab.haskell.org.