[Mlir-commits] [mlir] [MLIR] VectorEmulateNarrowType to support loading of unaligned vectors (PR #113411)
Diego Caballero
llvmlistbot at llvm.org
Thu Oct 24 21:44:58 PDT 2024
================
@@ -214,19 +264,19 @@ struct ConvertVectorMaskedStore final
// Load the whole data and use arith.select to handle the corner cases.
// E.g., given these input values:
//
- // %mask = [1, 1, 1, 0, 0, 0]
- // %0[%c0, %c0] contains [0x1, 0x2, 0x3, 0x4, 0x5, 0x6]
- // %value_to_store = [0x7, 0x8, 0x9, 0xA, 0xB, 0xC]
+ // %mask = [0, 1, 1, 1, 1, 1, 0, 0]
----------------
dcaballe wrote:
Yes, that should be supported. I think I have used that already somewhere...
https://github.com/llvm/llvm-project/pull/113411
More information about the Mlir-commits
mailing list