[clang] [llvm] [IR] Add llvm.structured.gep instruction (PR #176145)
Nathan Gauër via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 20 07:23:50 PST 2026
================
@@ -6878,6 +6878,41 @@ void Verifier::visitIntrinsicCall(Intrinsic::ID ID, CallBase &Call) {
&Call);
break;
}
+ case Intrinsic::structured_gep: {
+ // Parser should refuse those 2 cases.
+ assert(Call.getNumOperands() >= 2);
----------------
Keenuts wrote:
Changed with `arg_size()` (couldn't find a `getNumArgOperand()` in the docs)
https://github.com/llvm/llvm-project/pull/176145
More information about the cfe-commits
mailing list