[clang] [llvm] [IR][HLSL] Add llvm.structured.gep instruction (PR #176145)
Sebastian Neubauer via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 15 05:51:27 PST 2026
Nathan =?utf-8?q?Gauër?= <brioche at google.com>,
Nathan =?utf-8?q?Gauër?= <brioche at google.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/176145 at github.com>
https://github.com/Flakebi commented:
Thanks for driving this forward! Looks generally good to me, some comments inline.
Just to call it out for others reviewing this. As defined here, `structured.gep` makes is invalid to create an “end” pointer to an array.
I.e. in contrast to getelementptr, it does explicitly not allow creating a pointer to element `n` of an `n` large array.
https://github.com/llvm/llvm-project/pull/176145
More information about the cfe-commits
mailing list