Nathan =?utf-8?q?Gauër?= <[email protected]>,
Nathan =?utf-8?q?Gauër?= <[email protected]>,
Nathan =?utf-8?q?Gauër?= <[email protected]>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/[email protected]>
================
@@ -5522,6 +5538,14 @@ static Address emitAddrOfFieldStorage(CodeGenFunction
&CGF, Address base,
unsigned idx =
CGF.CGM.getTypes().getCGRecordLayout(rec).getLLVMFieldNo(field);
+ llvm::Type *StructType =
+ CGF.CGM.getTypes().getCGRecordLayout(rec).getLLVMType();
+
+ if (CGF.getLangOpts().HLSL && CGF.getLangOpts().EmitStructuredGEP)
----------------
s-perron wrote:
Should these be guarded by HLSL? Why should the experimental flag have no
effect on any other language?
https://github.com/llvm/llvm-project/pull/177332
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits