[mlir][emitc] Update and extend the TOSA -> EmitC test (#177339)

This patch updates and extends the TOSA-to-EmitC lowering test:
  * Conversion/ConvertToEmitC/tosa.mlir

Summary of changes and rationale:
* Remove `buffer-alignment=0` from the lowering pipeline; it is not required
  (the existing `CHECK` lines are not affected).
* Move the test from Conversion/ConvertToEmitC/tosa.mlir to
  Dialect/EmitC/tosa/ops.mlir. Conversion tests are intended for single
  conversion passes (e.g. `-convert-dialect1-to-dialect2`), whereas this test
  exercises a more complex lowering pipeline with multiple explicit steps (e.g.
  TOSA -> Linalg, bufferization, etc.).
* Add a Transform Dialect sequence to complement the existing lowering pipeline
  definition. This introduces an additional `RUN` line that is compatible with
  the original one. Using the Transform Dialect makes the pipeline easier to
  document, maintain, and experiment with.

GitOrigin-RevId: dd19a5a1a774af07989d1d363760bf00a725d4d7
3 files changed
tree: 748955bff3b95e928183d4184526a3f7cba99d78
  1. benchmark/
  2. cmake/
  3. docs/
  4. examples/
  5. include/
  6. lib/
  7. python/
  8. test/
  9. tools/
  10. unittests/
  11. utils/
  12. .clang-format
  13. .clang-tidy
  14. CMakeLists.txt
  15. LICENSE.TXT
  16. Maintainers.md
  17. README.md
README.md

Multi-Level Intermediate Representation

See https://mlir.llvm.org/ for more information.