[llvm] [Attributor] New attribute to identify what byte ranges are alive for an allocation (PR #66148)

Johannes Doerfert via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 18 09:04:17 PDT 2023


================
@@ -1109,6 +1112,14 @@ struct AAPointerInfoImpl
     return AAPointerInfo::manifest(A);
   }
 
+  using OffsetBinsTy = DenseMap<AA::RangeTy, SmallSet<unsigned, 4>>;
----------------
jdoerfert wrote:

You already defined this in the header. Why would you define it again here? That is duplication and makes changes in one end silently fail on the other end.

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


More information about the llvm-commits mailing list