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

Jan Voung via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 14 17:29:00 PDT 2024


================
@@ -222,6 +237,20 @@ class ConstantRangeAttributeImpl : public EnumAttributeImpl {
   ConstantRange getConstantRangeValue() const { return CR; }
 };
 
+class ConstRangeListAttributeImpl : public EnumAttributeImpl {
+  SmallVector<std::pair<int64_t, int64_t>, 16> Ranges;
----------------
jvoung wrote:

Perhaps something smaller than 16? What is the typical number of ranges?

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


More information about the llvm-commits mailing list