This diff adds lowering of the linalg.reshape op to LLVM.
A new descriptor is created with fields initialized as follows:
- allocatedPTr, alignedPtr and offset are copied from the source descriptor
- sizes are copied from the static destination shape
- strides are copied from the static strides collected with getStridesAndOffset
Only the static case in which the target view conforms to strided memref
semantics is supported. Other cases are left for future work and will be added on
a per-need basis.
clang-tidy: error: 'mlir/Conversion/LinalgToLLVM/LinalgToLLVM.h' file not found [clang-diagnostic-error]