[all-commits] [llvm/llvm-project] 9db9f6: [mlir][emitc] Refactor the e2e test for TOSA -> Em...
Andrzej Warzyński via All-commits
all-commits at lists.llvm.org
Tue May 5 05:18:59 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9db9f6d9c985f38075f2e0a3f55646d13fe0953c
https://github.com/llvm/llvm-project/commit/9db9f6d9c985f38075f2e0a3f55646d13fe0953c
Author: Andrzej Warzyński <andrzej.warzynski at arm.com>
Date: 2026-05-05 (Tue, 05 May 2026)
Changed paths:
R mlir/test/Dialect/EmitC/tosa/lit.local.cfg
R mlir/test/Dialect/EmitC/tosa/ops.mlir
R mlir/test/Dialect/EmitC/tosa/td.mlir
A mlir/test/Integration/Dialect/EmitC/lit.local.cfg
A mlir/test/Integration/Dialect/EmitC/td.mlir
A mlir/test/Integration/Dialect/EmitC/tosa.mlir
Log Message:
-----------
[mlir][emitc] Refactor the e2e test for TOSA -> EmitC lowering (#194686)
Update the TOSA -> EmitC test, mlir/test/Dialect/EmitC/tosa/ops.mlir, to also
compile the generated source with a C++ compiler. This adds an `mlir-translate`
step, making the overall flow:
mlir-opt tosa.mlir | mlir-translate | c++ -Wall -Werror -c
Although the test still does not execute the generated code, compiling it with
a host compiler increases coverage and makes the test closer to an integration
test. For this reason, move it to:
mlir/test/Integration/Dialect/EmitC/
The source generated by the translator uses `size_t`, which requires the
`stddef.h` header. This is currently provided explicitly in the compile step
with `-include stddef.h`; a follow-up should consider emitting the required
include from the translator instead.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list