Update LLVM again to 2025-08-09 (#5958)

This lets us pick up another API update to creating lifetimes, as well
as the consequent test updates.
This commit is contained in:
Chandler Carruth
2025-08-14 19:19:27 +00:00
committed by GitHub
parent 9feb493680
commit 0a679504a5
75 changed files with 330 additions and 332 deletions
+1 -3
View File
@@ -225,9 +225,7 @@ auto FunctionContext::CreateAlloca(llvm::Type* type, const llvm::Twine& name)
// Create a lifetime start intrinsic here to indicate where its scope really
// begins.
auto size = llvm_module().getDataLayout().getTypeAllocSize(type);
builder().CreateLifetimeStart(
alloca, llvm::ConstantInt::get(llvm_context(), llvm::APInt(64, size)));
builder().CreateLifetimeStart(alloca);
// If we just created the first alloca, there is now definitely at least one
// instruction after it -- there is a lifetime start instruction if nothing