[WebAssembly] Support constant offsets on loads and stores
authorDerek Schuff <dschuff@google.com>
Sat, 5 Dec 2015 00:26:39 +0000 (00:26 +0000)
committerDerek Schuff <dschuff@google.com>
Sat, 5 Dec 2015 00:26:39 +0000 (00:26 +0000)
commita9143d4647d9eca6d9ed32e76a56368ed4935969
tree69a28ef8f130d918e6bdcbf745c58473c6255fa1
parent3817e67f7f0807234396b92d1a8884798da2f6f8
[WebAssembly] Support constant offsets on loads and stores

This is just prototype for load/store for i32 types. I'll add them to
the rest of the types if we like this direction.

Differential Revision: http://reviews.llvm.org/D15197

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254807 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/WebAssembly/WebAssemblyInstrMemory.td
lib/Target/WebAssembly/WebAssemblyStoreResults.cpp
test/CodeGen/WebAssembly/cfg-stackify.ll
test/CodeGen/WebAssembly/global.ll
test/CodeGen/WebAssembly/load-ext.ll
test/CodeGen/WebAssembly/load-store-i1.ll
test/CodeGen/WebAssembly/load.ll
test/CodeGen/WebAssembly/store-results.ll
test/CodeGen/WebAssembly/store-trunc.ll
test/CodeGen/WebAssembly/store.ll
test/CodeGen/WebAssembly/varargs.ll