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

@@ -968,8 +968,7 @@ gb_internal lbValue lb_emit_call_internal(lbProcedure *p, lbValue value, lbValue
for (unsigned i = 0; i < param_count; i++) {
LLVMTypeRef param_type = param_types[i];
LLVMTypeRef arg_type = LLVMTypeOf(args[i]);
if (LB_USE_NEW_PASS_SYSTEM &&
arg_type != param_type) {
if (arg_type != param_type) {
LLVMTypeKind arg_kind = LLVMGetTypeKind(arg_type);
LLVMTypeKind param_kind = LLVMGetTypeKind(param_type);
if (arg_kind == param_kind) {