Luc Forget e40f215573
[MLIR][WASM] Control flow, conversion and comparison in Wasm importer (#154674)
This is the following of PR #154452.

It extend Wasm binary to Wasm SSA importer with support of control flow
operations, comparison operations and conversion operations.

---------

Co-authored-by: Ferdinand Lemaire <ferdinand.lemaire@woven-planet.global>
Co-authored-by: Jessica Paquette <jessica.paquette@woven-planet.global>
Co-authored-by: Luc Forget <luc.forget@woven.toyota>
2025-10-17 13:43:30 +02:00

18 lines
396 B
MLIR

// RUN: yaml2obj %S/inputs/loop.yaml.wasm -o - | mlir-translate --import-wasm | FileCheck %s
/* IR generated from:
(module
(func
(loop $my_loop
)
)
)*/
// CHECK-LABEL: wasmssa.func @func_0() {
// CHECK: wasmssa.loop : {
// CHECK: wasmssa.block_return
// CHECK: }> ^bb1
// CHECK: ^bb1:
// CHECK: wasmssa.return
// CHECK: }