[llvm] Add the 'initializes' attribute langref and support (PR #84803)

Haopeng Liu via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 10 21:55:56 PDT 2024


================
@@ -124,6 +133,16 @@ class AttributeImpl : public FoldingSetNode {
     CR.getLower().Profile(ID);
     CR.getUpper().Profile(ID);
   }
+
+  static void Profile(FoldingSetNodeID &ID, Attribute::AttrKind Kind,
+                      const ConstantRangeList &CRL) {
+    ID.AddInteger(Kind);
+    ID.AddInteger(CRL.size());
----------------
haopliu wrote:

Ah, nice catch. Done!

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


More information about the llvm-commits mailing list