[clang] [llvm] [IR] Add flags operand to structured.gep (PR #200093)
Yingwei Zheng via cfe-commits
cfe-commits at lists.llvm.org
Sat Jul 18 05:22:39 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],
----------------
dtcxzyw wrote:
Having a glance at the original proposal https://discourse.llvm.org/t/rfc-adding-instructions-to-to-carry-gep-type-traversal-information/88141, it looks like we chose an intrinsic instead of a dedicated instruction because we didn't care about the flags at that time?
https://github.com/llvm/llvm-project/pull/200093
More information about the cfe-commits
mailing list