Skip to content

--memory64-lowering is not compatible with SIMD #4638

@sbc100

Description

@sbc100

If I take a simple SIMD test from emscripten and build with MEMORY64=2 (lowering) I get errors like this one:

$ wasm-opt --memory64-lowering --strip-producers in.wasm -o out.wasm -g --mvp-features --enable-simd --enable-memory64
[wasm-validator error in function main] i64 != i32: load_splat address must match memory index type, on 
(v128.load8_splat offset=79
 (local.get $4)
)
Fatal: error after opts

Without --memory64-lowering the above command work. I've attached in.wasm.

in.wasm.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions