This is an archive of the discontinued LLVM Phabricator instance.

[WebAssembly] wasm64: fix memory.init operand types
ClosedPublic

Authored by aardappel on Aug 7 2020, 1:26 PM.

Details

Summary

I had assumed they would all become in i64, but this is not necessary as long as data segments stay 32-bit, see:
https://github.com/WebAssembly/memory64/blob/master/proposals/memory64/Overview.md

Diff Detail

Event Timeline

aardappel created this revision.Aug 7 2020, 1:26 PM
aardappel requested review of this revision.Aug 7 2020, 1:26 PM
sbc100 added a comment.Aug 7 2020, 2:20 PM

lld parts lgtm

dschuff accepted this revision.Aug 10 2020, 10:00 AM
This revision is now accepted and ready to land.Aug 10 2020, 10:00 AM
This revision was landed with ongoing or failed builds.Aug 10 2020, 10:15 AM
This revision was automatically updated to reflect the committed changes.