[all-commits] [llvm/llvm-project] fdf4dc: [InferAddressSpaces] Add a TTI hook for address sp...
Alex MacLean via All-commits
all-commits at lists.llvm.org
Tue Sep 22 11:11:56 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fdf4dcb7b7ddb33e5f4c9ab7fad0fca2e0170daa
https://github.com/llvm/llvm-project/commit/fdf4dcb7b7ddb33e5f4c9ab7fad0fca2e0170daa
Author: Alex MacLean <amaclean at nvidia.com>
Date: 2026-09-22 (Tue, 22 Sep 2026)
Changed paths:
M llvm/include/llvm/Analysis/TargetTransformInfo.h
M llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
M llvm/lib/Analysis/TargetTransformInfo.cpp
M llvm/lib/Target/NVPTX/NVPTXTargetTransformInfo.h
M llvm/lib/Transforms/Scalar/InferAddressSpaces.cpp
A llvm/test/CodeGen/NVPTX/infer-address-space-join.ll
A llvm/test/Transforms/InferAddressSpaces/NVPTX/address-space-join.ll
Log Message:
-----------
[InferAddressSpaces] Add a TTI hook for address space joins (#225161)
InferAddressSpaces currently joins different specific address spaces to
the flat address space. This misses cases where the target has a more
specific common space. For NVPTX, a PHI or select combining shared (AS3)
and cluster-shared (AS7) pointers can use AS7, allowing loads through
the result to use ld.shared::cluster.
Add a getAddressSpaceJoin TTI hook and implement the AS3/AS7 join for
NVPTX.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list