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

Jan Voung via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 26 06:47:04 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;
----------------
jvoung wrote:

nit: maybe just "Size" since there isn't a field named "Val"

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


More information about the llvm-commits mailing list