[llvm] [Attributor] Change allocation size and load/store offsets using AAPointerInfo for Alloca instructions (PR #72029)

Shilei Tian via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 17 17:35:09 PDT 2024


================
@@ -6106,6 +6106,56 @@ struct AAPointerInfo : public AbstractAttribute {
     Type *Ty;
----------------
shiltian wrote:

<!--__GRAPHITE_HTML_TAG_START__--><i class='graphite__hidden'>[Re: line 5754]<br/><br/></i>

<!--__GRAPHITE_HTML_TAG_END__-->Since you have pure virtual function, I suggest to put the constructor in `protect`.<!--__GRAPHITE_HTML_TAG_START__--><span class='graphite__hidden'><br/><br/>See this comment inline on <a href="https://app.graphite.dev/github/pr/llvm/llvm-project/72029?utm_source=unchanged-line-comment">Graphite</a>.</span>

<!--__GRAPHITE_HTML_TAG_END__-->

https://github.com/llvm/llvm-project/pull/72029


More information about the llvm-commits mailing list