[llvm] [InferAddressSpaces] Handle unconverted ptrmask (PR #140802)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 24 20:46:36 PDT 2025
================
@@ -151,6 +152,54 @@ class TargetTransformInfoImplBase {
}
virtual bool isNoopAddrSpaceCast(unsigned, unsigned) const { return false; }
+
+ // Given an address space cast of the given pointer value, calculate the known
+ // bits of the source pointer in the source addrspace and the destination
+ // pointer in the destination addrspace.
----------------
arsenm wrote:
Should pull this documentation up into the top-level API entry in TargetTransformInfo.h
https://github.com/llvm/llvm-project/pull/140802
More information about the llvm-commits
mailing list