[clang] [llvm] [IR] Add flags operand to structured.gep (PR #200093)
Sebastian Neubauer via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 17 04:02:51 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],
----------------
Flakebi wrote:
It seems reasonable to make this an actual instruction. We should hash out the semantics and index meanings before merging something like that, it becomes more painful to change once merged (adding flags like inbounds, etc. afterwards is no problem).
https://github.com/llvm/llvm-project/pull/200093
More information about the cfe-commits
mailing list