[llvm] [InferAS] Infer the address space of inttoptr (PR #173244)
Luo Yuanke via llvm-commits
llvm-commits at lists.llvm.org
Sun Jan 25 05:53:57 PST 2026
================
@@ -193,6 +193,11 @@ class TargetTransformInfoImplBase {
return FromPtrBits.anyextOrTrunc(ToASBitSize);
}
+ virtual APInt getAddrSpaceCastPreservedPtrMask(unsigned SrcAS,
+ unsigned DstAS) const {
+ return APInt::getZero(DL.getPointerSizeInBits());
----------------
LuoYuanke wrote:
Done
https://github.com/llvm/llvm-project/pull/173244
More information about the llvm-commits
mailing list