================ @@ -2064,6 +2064,9 @@ llvm::Value *CodeGenFunction::EmitToMemory(llvm::Value *Value, QualType Ty) { if (Ty->isExtVectorBoolType()) { llvm::Type *StoreTy = convertTypeForLoadStore(Ty, Value->getType()); + if (getLangOpts().HLSL) ---------------- llvm-beanz wrote:
Do we need to check HLSL here? We should be able to instead check that StoreTy refers to a smaller integer type than Value->getType() right? 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