[llvm] [InferAddressSpaces] Handle unconverted ptrmask (PR #140802)
Robert Imschweiler via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 24 04:46:28 PDT 2025
================
@@ -495,6 +495,13 @@ class TargetTransformInfo {
LLVM_ABI bool isNoopAddrSpaceCast(unsigned FromAS, unsigned ToAS) const;
+ LLVM_ABI std::pair<KnownBits, KnownBits>
+ computeKnownBitsAddrSpaceCast(unsigned FromAS, unsigned ToAS,
+ const Value &PtrOp) const;
+
+ LLVM_ABI KnownBits computeKnownBitsAddrSpaceCast(
----------------
ro-i wrote:
Ping. If there is not really a good solution, ig the best option would be to remove the target implementation of computeKnownBits for AddrSpaceCast that Matt suggested? So that we can at least fix the original bug our fuzzer detected.
https://github.com/llvm/llvm-project/pull/140802
More information about the llvm-commits
mailing list