[clang] [Clang][CodeGen] Make UnqualPtrTy match llvm::PointerType::getUnqual (PR #163207)
Eli Friedman via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 14 16:07:27 PDT 2025
Juan Manuel Martinez =?utf-8?q?Caamaño?= <juamarti at amd.com>,
Juan Manuel Martinez =?utf-8?q?Caamaño?= <juamarti at amd.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/163207 at github.com>
efriedma-quic wrote:
I think on the rare occasion where we actually want addrspace 0, regardless of the target's addrspace preferences, I'd prefer to change it to explicitly request addrspace 0. `Builder.getPtrTy(/*AddrSpace*/0)` is unambiguous.
https://github.com/llvm/llvm-project/pull/163207
More information about the cfe-commits
mailing list