[PATCH] D87978: [Attributor] Adds deduction for the MaxObjSize Attribute

Johannes Doerfert via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 14 12:21:29 PDT 2020


jdoerfert added inline comments.


================
Comment at: llvm/test/Transforms/Attributor/maxobjsize.ll:493
+  ret void
+}
+
----------------
Can you run mem2reg on the new test code. Also add maxobjsize to the argument %0 in this caller, I forgot to mention that. The test should show that we propagate maxobjsize to the second use *only* if it is not resizable.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D87978/new/

https://reviews.llvm.org/D87978



More information about the llvm-commits mailing list