================
@@ -1381,7 +1381,7 @@ void ASTContext::InitBuiltinTypes(const TargetInfo 
&Target,
   if (LangOpts.OpenACC && !LangOpts.OpenMP) {
     InitBuiltinType(ArraySectionTy, BuiltinType::ArraySection);
   }
-  if (LangOpts.MatrixTypes)
+  if (LangOpts.MatrixTypes || LangOpts.HLSL)
----------------
farzonl wrote:

If this is the only line this will be needed then feel free to ignore this 
comment. 

My question is  could there be places where `LangOpts.MatrixTypes` could 
diverge from HLSL? 

If so instead is it possible for `LangOpts.HLSL` to turn on 
`LangOpts.MatrixTypes`?

https://github.com/llvm/llvm-project/pull/111415
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to