Merge pull request #6918 from Kelimion/deprecate-llvm-14

Remove LLVM 14 support
This commit is contained in:
Jeroen van Rijn
2026-07-03 21:35:47 +02:00
committed by GitHub
10 changed files with 33 additions and 443 deletions

View File

@@ -1109,7 +1109,6 @@ gb_internal i64 odin_compile_timestamp(void) {
return ns_after_1970;
}
gb_internal bool lb_use_new_pass_system(void);
gb_internal void init_universal(void) {
BuildContext *bc = &build_context;
@@ -1383,7 +1382,8 @@ gb_internal void init_universal(void) {
}
{
bool f16_supported = lb_use_new_pass_system();
// Available since LLVM 17 / new pass system, which is the minimum now.
bool f16_supported = true;
if (is_arch_wasm()) {
f16_supported = false;
} else if (build_context.metrics.os == TargetOs_darwin && build_context.metrics.arch == TargetArch_amd64) {