Update LLVM, picking up new -disable-free flag logic (#5333)

This requires fixing some uses of deprecated APIs.
This commit is contained in:
Chandler Carruth
2025-04-18 03:49:27 +00:00
committed by GitHub
parent 034e374f0a
commit 55705aaef8
4 changed files with 9 additions and 8 deletions
+1 -1
View File
@@ -264,7 +264,7 @@ auto FileContext::BuildFunctionTypeInfo(const SemIR::Function& function,
auto return_param_id = SemIR::InstId::None;
if (return_info.has_return_slot()) {
param_types.push_back(
llvm::PointerType::get(return_type, /*AddressSpace=*/0));
llvm::PointerType::get(llvm_context(), /*AddressSpace=*/0));
return_param_id = function.return_slot_pattern_id;
param_inst_ids.push_back(return_param_id);
}