[PATCH] D157068: [Attributor] New attribute to identify what byte ranges are alive for an allocation

Johannes Doerfert via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 21 18:04:44 PDT 2023


jdoerfert added inline comments.


================
Comment at: llvm/lib/Transforms/IPO/AttributorAttributes.cpp:12517
+        !AI->getAllocatedType()->getContainedType(0)->isVectorTy())
+      return indicatePessimisticFixpoint();
+
----------------
Why do you give up on struct type like `{i32, i32}`?
I don't understand why we need this conditional at all.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D157068



More information about the llvm-commits mailing list