[WebAssembly] wasm64: fix memory.init operand types
authorWouter van Oortmerssen <aardappel@gmail.com>
Fri, 7 Aug 2020 20:24:43 +0000 (13:24 -0700)
committerWouter van Oortmerssen <aardappel@gmail.com>
Mon, 10 Aug 2020 17:15:20 +0000 (10:15 -0700)
commit582fd474ddc0318ca23ade8e22de20df85c492cc
tree41fc20de833488e6fd00c5e94c14dd10c25869c2
parente912fffd3a8c6c9f6e09d2eac4c1ee3a32800a22
[WebAssembly] wasm64: fix memory.init operand types

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

Differential Revision: https://reviews.llvm.org/D85552
lld/wasm/InputChunks.cpp
lld/wasm/OutputSections.cpp
lld/wasm/OutputSegment.h
lld/wasm/SymbolTable.cpp
lld/wasm/SymbolTable.h
lld/wasm/Writer.cpp
llvm/lib/Target/WebAssembly/WebAssemblyInstrBulkMemory.td