[WebAssembly] Enable folding of offsets into global variable addresses.
authorDan Gohman <dan433584@gmail.com>
Sun, 6 Dec 2015 19:33:32 +0000 (19:33 +0000)
committerDan Gohman <dan433584@gmail.com>
Sun, 6 Dec 2015 19:33:32 +0000 (19:33 +0000)
commit4693393907a37825c48332f7dad147cb2764441a
tree83d463554ffe06147090d26ecd364e2285cfa6ac
parentd749dbb6ecc72c57a30c3d996d6b176bc4db18e3
[WebAssembly] Enable folding of offsets into global variable addresses.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254882 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
lib/Target/WebAssembly/WebAssemblyMCInstLower.cpp
test/CodeGen/WebAssembly/offset-folding.ll [new file with mode: 0644]