[clang] [Clang][HLSL] Start emitting structured GEP instruction (PR #177332)

Nathan Gauër via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 28 06:44:36 PST 2026


================
@@ -4548,10 +4554,18 @@ static llvm::Value *emitArraySubscriptGEP(CodeGenFunction &CGF,
 
 static Address emitArraySubscriptGEP(CodeGenFunction &CGF, Address addr,
                                      ArrayRef<llvm::Value *> indices,
+                                     llvm::Type *arrayType,
----------------
Keenuts wrote:

Removed the check for null, this is now always set to something. Also moving it to the end was weird (better closer to the other related params).

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


More information about the cfe-commits mailing list