[clang] [llvm] [IR] Add flags operand to structured.gep (PR #200093)

Matt Arsenault via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 3 04:20:33 PDT 2026


================
@@ -1048,7 +1048,8 @@ def int_callbr_landingpad : Intrinsic<[llvm_any_ty], [LLVMMatchType<0>],
 
 def int_structured_gep
     : DefaultAttrsIntrinsic<[llvm_anyptr_ty],
-                            [LLVMMatchType<0>, llvm_vararg_ty],
+                            [LLVMMatchType<0>, llvm_anyvector_ty,
+                             llvm_vararg_ty],
----------------
arsenm wrote:

Then the argument list isn't really the right place. If this was a first class instruction it would be easier to have real flags 

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


More information about the cfe-commits mailing list