Could you please tell me how can I copy the data from 2 (or more) memrefs and to put the data concatenated in 1 resulting memref.
I know that in the LLVM dialect for example a memref<1x1x1x1000xf16> is represented as a llvm.struct<(ptr, ptr, i64, array<4 x i64>, array<4 x i64>)>. (What the elements of this struct represent is described at https://mlir.llvm.org/docs/TargetLLVMIR/#ranked-memref-types .) This llvm.struct has a size in bytes equal to 2 * sizeof(ptr) + 8 + 2 * 4*8, which is 88 for a 64-bit system (excluding alignment concerns).
Do you recommend me to use to perform copies the llvm.ssa.copy intrinsic (https://llvm.org/docs/LangRef.html#llvm-ssa-copy-intrinsic)?
Thank you very much,