SuccessChanges

Summary

  1. [mlir][Linalg] Add conv ops with TF definition. (details)
  2. [AArch64][SVE] Asm: Fix supported immediates for DUP/CPY (details)
Commit 9325b8da1702238f15f837b6e07f099baf4dcd94 by hanchung
[mlir][Linalg] Add conv ops with TF definition.

The dimension order of a filter in tensorflow is
[filter_height, filter_width, in_channels, out_channels], which is different
from current definition. The current definition follows TOSA spec. Add TF
version conv ops to .tc, so we do not have to insert a transpose op around a
conv op.

Reviewed By: antiagainst

Differential Revision: https://reviews.llvm.org/D96038
The file was addedmlir/integration_test/Dialect/Linalg/CPU/test-conv-2d-input-nhwc-filter-hwcf-call.mlir
The file was addedmlir/integration_test/Dialect/Linalg/CPU/test-conv-3d-input-ncdhw-filter-dhwcf-call.mlir
The file was modifiedmlir/test/Dialect/Linalg/named-ops.mlir
The file was addedmlir/integration_test/Dialect/Linalg/CPU/test-conv-1d-input-ncw-filter-wcf-call.mlir
The file was modifiedmlir/test/Dialect/Linalg/generalize-named-ops.mlir
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp
The file was addedmlir/integration_test/Dialect/Linalg/CPU/test-conv-1d-input-nwc-filter-wcf-call.mlir
The file was addedmlir/integration_test/Dialect/Linalg/CPU/test-conv-3d-input-ndhwc-filter-dhwcf-call.mlir
The file was addedmlir/integration_test/Dialect/Linalg/CPU/test-conv-2d-input-nchw-filter-hwcf-call.mlir
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgNamedStructuredOpsSpec.tc
Commit 3b4f706ae16bb12b7d925fbf428def7cb2a6f7db by sander.desmalen
[AArch64][SVE] Asm: Fix supported immediates for DUP/CPY

This patch fixes an issue in the implementation of DUP/CPY where certain
immediates were not accepted. Immediates should be interpreted as a two's
complement encoding of a value that fits the number of bits of the element
type.

          mov z0.b, p0/z, #127
     <=>  mov z0.b, p0/z, #-129
     <=>  mov z0.b, p0/z, #0xffffffffffffff7f

This behaviour is in line with the GNU assembler.

Reviewed By: c-rhodes

Differential Revision: https://reviews.llvm.org/D94776
The file was modifiedllvm/test/MC/AArch64/SVE/dup.s
The file was modifiedllvm/test/MC/AArch64/SVE/cpy.s
The file was modifiedllvm/lib/Target/AArch64/MCTargetDesc/AArch64AddressingModes.h
The file was modifiedllvm/test/MC/AArch64/SVE/mov.s
The file was modifiedllvm/test/MC/AArch64/SVE/cpy-diagnostics.s
The file was modifiedllvm/test/MC/AArch64/SVE/mov-diagnostics.s
The file was modifiedllvm/test/MC/AArch64/SVE/dup-diagnostics.s