[llvm-branch-commits] [clang] [HLSL][Matrix] Add Matrix splat support for booleans (PR #175809)
Joshua Batista via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Jan 13 15:50:58 PST 2026
================
@@ -2218,6 +2218,10 @@ llvm::Value *CodeGenFunction::EmitToMemory(llvm::Value *Value, QualType Ty) {
if (Ty->isExtVectorBoolType() || Ty->isConstantMatrixBoolType()) {
llvm::Type *StoreTy = convertTypeForLoadStore(Ty, Value->getType());
+
+ if (Value->getType() == StoreTy)
----------------
bob80905 wrote:
Does this affect other languages / do we want to gate this behind HLSL only?
Kinda surprising to me that this sort of behavior hasn't been working right in this common file.
https://github.com/llvm/llvm-project/pull/175809
More information about the llvm-branch-commits
mailing list