sunfish added a comment. test/CodeGen/WebAssembly/mem-intrinsics.ll passes for me, with this patch applied. Let me know if there's anything I can help with. Repository: rL LLVM http://reviews.llvm.org/D20379