[clang] [HLSL][Matrix] Load and store ConstantMatrixBoolTypes as i32 FixedVectorTypes (PR #175245)
Deric C. via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 9 14:49:59 PST 2026
================
@@ -2216,7 +2216,7 @@ llvm::Value *CodeGenFunction::EmitToMemory(llvm::Value *Value, QualType Ty) {
if (auto *AtomicTy = Ty->getAs<AtomicType>())
Ty = AtomicTy->getValueType();
- if (Ty->isExtVectorBoolType()) {
+ if (Ty->isExtVectorBoolType() || Ty->isConstantMatrixBoolType()) {
----------------
Icohedron wrote:
As long as (boolean) matrices remain represented as vectors in memory, this logic should be correct if C/C++ or some other C Dialect adds boolean matrix types.
https://github.com/llvm/llvm-project/pull/175245
More information about the cfe-commits
mailing list