[llvm] [IR][TableGen] Add RangeSet TableGen intrinsic property (PR #203623)

Rahul Joshi via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 5 08:53:32 PDT 2026


================
@@ -31,6 +32,44 @@ using namespace llvm;
 // return is 257.
 static constexpr unsigned MaxNumReturn = 257;
 
+static std::pair<int64_t, int64_t>
+getHalfOpenRange(const Record *R, const ListInit *Range, StringRef AttrName) {
+  if (!Range || Range->size() != 2)
+    PrintFatalError(R->getLoc(),
----------------
jurahul wrote:

isn't this redundant since you have an assert already in the rangeset definition?

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


More information about the llvm-commits mailing list