[llvm] [Attributor] Pack out arguments into a struct (PR #119267)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 5 20:56:21 PST 2025


arsenm wrote:

>         AllocaInst *Alloca = EntryBuilder.CreateAlloca(  // this is AttributorAttributes.cpp:13069:21
>             PtrToType[&OldArg], nullptr, OldArg.getName());

You're not using the correct address space for the alloca. Regardless of that, I think the crash is probably because PtrToType[&OldArg] is nullptr 

https://github.com/llvm/llvm-project/pull/119267


More information about the llvm-commits mailing list