[PATCH] D136745: [NFC] [AAPointerInfo] OffsetAndSize is no longer an std::pair

Sameer Sahasrabuddhe via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 26 10:08:40 PDT 2022


sameerds added inline comments.


================
Comment at: llvm/lib/Transforms/IPO/AttributorAttributes.cpp:732
+    return AA::OffsetAndSize{TombstoneKey, TombstoneKey};
+  }
+
----------------
jdoerfert wrote:
> Do we need to ensure empty and tombstone key do not clash with unknown/unassigned?
That kinda goes without saying whenever a DenseMap is used. But I've now added comments to the place where Unknown and Unsigned are declared.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D136745



More information about the llvm-commits mailing list