[clang] [HLSL] Make memory representation of boolean vectors in HLSL, vectors of i32. Add support for boolean swizzling. (PR #123977)

Sarah Spall via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 14 13:06:50 PST 2025


================
@@ -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)
----------------
spall wrote:

Does this point apply to the 'isPackedBoolVectorType' function?

https://github.com/llvm/llvm-project/pull/123977


More information about the cfe-commits mailing list