aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
diff options
context:
space:
mode:
authorWenju He <wenju.he@intel.com>2025-10-09 09:10:24 +0800
committerGitHub <noreply@github.com>2025-10-09 09:10:24 +0800
commit1ffff05a38c92ef3a0479e8f86869e5f2008fdd7 (patch)
treef543a19b5034228336c0c7b78b111ad92d5f8ed7 /llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
parenta4a98033c3deb6bc9a438f3cb9e0e1716da5bc00 (diff)
downloadllvm-main.zip
llvm-main.tar.gz
llvm-main.tar.bz2
[clang][SPIR][SPIRV] Materialize non-generic null pointers via addrspacecast (#161773)HEADmain
LLVM models ConstantPointerNull as all-zero, but some GPUs (e.g. AMDGPU and our downstream GPU target) use a non-zero sentinel for null in private / local address spaces. SPIR-V is a supported input for our GPU target. This PR preserves a canonical zero form in the generic AS while allowing later lowering to substitute the target’s real sentinel.
Diffstat (limited to 'llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp')
0 files changed, 0 insertions, 0 deletions