[llvm] [Attributor] Indicate optimistic fixed point if an instruction already has non-zero address space (PR #101589)
Johannes Doerfert via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 1 19:49:00 PDT 2024
================
@@ -12491,6 +12491,9 @@ struct AAAddressSpaceImpl : public AAAddressSpace {
void initialize(Attributor &A) override {
assert(getAssociatedType()->isPtrOrPtrVectorTy() &&
"Associated value is not a pointer");
+ auto *PtrTy = cast<PointerType>(getAssociatedType());
----------------
jdoerfert wrote:
I don't think you need this cast.
https://github.com/llvm/llvm-project/pull/101589
More information about the llvm-commits
mailing list