[PATCH] D158286: [Inline] Avoid incompatible return attributes on deoptimize
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 18 09:33:08 PDT 2023
nikic added inline comments.
================
Comment at: llvm/lib/IR/Attributes.cpp:1999
+ .addAttribute(Attribute::Dereferenceable)
+ .addAttribute(Attribute::DereferenceableOrNull);
}
----------------
This change is unnecessary, this is all handled by `!Ty->isPointerTy()` above.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D158286/new/
https://reviews.llvm.org/D158286
More information about the llvm-commits
mailing list