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

Haopeng Liu via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 26 09:59:19 PDT 2024


================
@@ -222,6 +241,40 @@ class ConstantRangeAttributeImpl : public EnumAttributeImpl {
   ConstantRange getConstantRangeValue() const { return CR; }
 };
 
+class ConstantRangeListAttributeImpl final
+    : public EnumAttributeImpl,
+      private TrailingObjects<ConstantRangeListAttributeImpl, ConstantRange> {
+  friend TrailingObjects;
+
+  unsigned ValSize;
----------------
haopliu wrote:

Done.

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


More information about the llvm-commits mailing list