This code currently assumes that all bulk memory operations occur on memory 0 which who's type is determined by the wasm32 vs wasm64 target triple. Further improvements would be need to support multi-memory. Differential Revision: https://reviews.llvm.org/D147540