================
@@ -410,6 +410,12 @@ VectorType::VectorType(TypeClass tc, QualType vecType, 
unsigned nElements,
   VectorTypeBits.NumElements = nElements;
 }
 
+bool Type::isPackedVectorBoolType(const ASTContext &ctx) const {
+  if (ctx.getLangOpts().HLSL)
----------------
farzonl wrote:

This might be a dumb suggestion, but is the a way to just check if the mem 
reprsentation is i32 or i1? HLSL is probably the only language mode that needs 
this distinction but it feel like this shouldn't have a lang opt toggle based 
on the function name.

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

Reply via email to