[llvm-branch-commits] [llvm] [Attributor] Use `getAllocaAddrSpace` to get address space for `AllocaInst` (PR #136865)

Nikita Popov via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Apr 23 08:06:10 PDT 2025


nikic wrote:

@shiltian I'm not entirely sure what you're asking here. As @arsenm said, the alloca address space in the data layout is merely a hint on the address space to use when materializing allocas "out of thin air". There are targets that use multiple alloca address spaces, this just specifies a default one.


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


More information about the llvm-branch-commits mailing list