Skip to content

Memory64 lowering fails with 64bit offset #8317

Description

@brendandahl

wasm-opt --memory64-lowering --table64-lowering /tmp/emscripten_temp/tsgen.wasm -o /tmp/emscripten_temp/tsgen.wasm --mvp-features --enable-threads --enable-bulk-memory --enable-bulk-memory-opt --enable-call-indirect-overlong --enable-memory64 --enable-multivalue --enable-mutable-globals --enable-nontrapping-float-to-int --enable-reference-types --enable-sign-ext

[wasm-validator error in function 581] unexpected false: offset must be u32, on 
(i32.load offset=17179869180
 (i32.wrap_i64
  (local.tee $4
   (i64.load offset=56
    (i32.wrap_i64
     (local.get $4)
    )
   )
  )
 )
)
Fatal: error after opts

From: emscripten-core/emscripten#26154

tsgen.wasm.zip

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions