[libcxx-commits] [clang] [libcxxabi] [clang] respect Ty addrspace when making an alloca (PR #181390)
Matt Arsenault via libcxx-commits
libcxx-commits at lists.llvm.org
Fri May 1 03:32:18 PDT 2026
================
@@ -298,11 +298,13 @@ namespace {
}
Address AtomicInfo::CreateTempAlloca() const {
- Address TempAlloca = CGF.CreateMemTemp(
- (LVal.isBitField() && ValueSizeInBits > AtomicSizeInBits) ? ValueTy
- : AtomicTy,
- getAtomicAlignment(),
- "atomic-temp");
+ // Remove addrspace info from the atomic pointer element when making the
----------------
arsenm wrote:
I'm not sure I get why this matters. The size of the type shouldn't change with the address space?
https://github.com/llvm/llvm-project/pull/181390
More information about the libcxx-commits
mailing list