Luc Forget 95fbc18a70
[MLIR][Wasm] Extending Wasm binary to WasmSSA dialect importer (#154452)
This is a cherry pick of #154053 with a fix for bad handling of
endianess when loading float and double litteral from the binary.

---------

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-08-20 10:55:55 +02:00

34 lines
805 B
Plaintext

--- !WASM
FileHeader:
Version: 0x1
Sections:
- Type: TYPE
Signatures:
- Index: 0
ParamTypes: []
ReturnTypes:
- I32
- Index: 1
ParamTypes: []
ReturnTypes:
- I64
- Type: FUNCTION
FunctionTypes: [ 0, 1 ]
- Type: EXPORT
Exports:
- Name: shr_u_i32
Kind: FUNCTION
Index: 0
- Name: shr_u_i64
Kind: FUNCTION
Index: 1
- Type: CODE
Functions:
- Index: 0
Locals: []
Body: 410A4103760B
- Index: 1
Locals: []
Body: 420A4203880B
...