[llvm] [InferAddressSpaces] Support refinement from additional address spaces (PR #225884)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 23 11:47:45 PDT 2026
================
@@ -54,6 +54,11 @@ class NVPTXTTIImpl final : public BasicTTIImplBase<NVPTXTTIImpl> {
return AddressSpace::ADDRESS_SPACE_GENERIC;
}
+ SmallVector<unsigned, 2> getRefinableAddressSpaces() const override {
+ return {AddressSpace::ADDRESS_SPACE_GENERIC,
----------------
arsenm wrote:
If you're going to keep the old getFlatAddressSpace around, this one shouldn't need to include DDRESS_SPACE_GENERIC?
https://github.com/llvm/llvm-project/pull/225884
More information about the llvm-commits
mailing list