[PATCH] D104432: [Attributor] Introduce AAPointerInfo

Johannes Doerfert via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 8 16:55:09 PDT 2021


jdoerfert added inline comments.


================
Comment at: llvm/lib/Transforms/IPO/AttributorAttributes.cpp:1139
+      TypeSize AccessSize =
+          DL.getTypeStoreSize(Ptr.getType()->getPointerElementType());
+      if (!AccessSize.isScalable())
----------------
nikic wrote:
> Access to pointer element type. Is this supposed to use `Ty` instead?
Good catch. Yes, I added Ty later and did not modify this use.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D104432



More information about the llvm-commits mailing list