================
@@ -897,7 +921,8 @@ struct TransferOpConversion : public 
VectorToSCFPattern<OpTy> {
       } else {
         // It's safe to assume the mask buffer can be unpacked if the data
         // buffer was unpacked.
-        auto castedMaskType = *unpackOneDim(maskBufferType);
+        auto maskBufferType = dyn_cast<MemRefType>(maskBuffer.getType());
----------------
rikhuijzer wrote:

That's caused by git diff being confusing. The `maskBufferType` was defined 
before the `if-else`, but only used inside the `else`, so I moved it inside the 
`else`.

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

Reply via email to