[llvm-branch-commits] [llvm] [Attributor] Use `getAllocaAddrSpace` to get address space for `AllocaInst` (PR #136865)
Matt Arsenault via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Apr 23 06:55:06 PDT 2025
https://github.com/arsenm requested changes to this pull request.
The address space should just come directly from the alloca. You don't know if it's correct to just replace the addrspace with whatever the datalayout says is the alloca addrspace. The datalayout value is for new allocas where the code has no additional context
https://github.com/llvm/llvm-project/pull/136865
More information about the llvm-branch-commits
mailing list