WebAssembly: generate load/store
authorJF Bastien <jfb@google.com>
Mon, 31 Aug 2015 22:24:11 +0000 (22:24 +0000)
committerJF Bastien <jfb@google.com>
Mon, 31 Aug 2015 22:24:11 +0000 (22:24 +0000)
commit456ed8978e251f7e7db36d01acbdaeb1f38a84c0
tree3d7b38e169dc23dd1535fa368410ed1854d1f903
parentfaeb2028b0d6ea1676621f8ad660a85fb911a0e1
WebAssembly: generate load/store

Summary: This handles all load/store operations that WebAssembly defines, and handles those necessary for C++ such as i1. I left a FIXME for outstanding features which aren't required for now.

Reviewers: sunfish

Subscribers: jfb, llvm-commits, dschuff

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@246500 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
lib/Target/WebAssembly/WebAssemblyInstrMemory.td
test/CodeGen/WebAssembly/load-ext.ll [new file with mode: 0644]
test/CodeGen/WebAssembly/load-store-i1.ll [new file with mode: 0644]
test/CodeGen/WebAssembly/load.ll [new file with mode: 0644]
test/CodeGen/WebAssembly/store-trunc.ll [new file with mode: 0644]
test/CodeGen/WebAssembly/store.ll [new file with mode: 0644]