[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:47:36 PDT 2026
================
@@ -3988,6 +3988,12 @@ void Verifier::visitCallBase(CallBase &Call) {
Call);
}
}
+ if (auto *CI = dyn_cast<ConstantInt>(ArgVal))
+ Check(Intrinsic::isImmArgValueInRangeSet(Call.getIntrinsicID(), i,
----------------
jurahul wrote:
nit: please see the above error message. Atleast add the argument number to the error message. Something like "immarg value {} for arg {} is out of range". Just that we don't print the expected range set. Maybe that can be done as well?
https://github.com/llvm/llvm-project/pull/203623
More information about the llvm-commits
mailing list