[WebAssembly] Disable the store-results optimization.
authorDan Gohman <dan433584@gmail.com>
Thu, 18 Aug 2016 17:51:27 +0000 (17:51 +0000)
committerDan Gohman <dan433584@gmail.com>
Thu, 18 Aug 2016 17:51:27 +0000 (17:51 +0000)
commitc9623db884ec044249c85366e9bc94e47d5cc48a
tree70ad6fd8b0ee4e7c9e6cb736699348a48a612548
parente2f36bcb84219bcb1298e5245f6507b638645673
[WebAssembly] Disable the store-results optimization.

The WebAssemly spec removing the return value from store instructions, so
remove the associated optimization from LLVM.

This patch leaves the store instruction operands in place for now, so stores
now always write to "$drop"; these will be removed in a seperate patch.

llvm-svn: 279100
llvm/lib/Target/WebAssembly/WebAssemblyStoreResults.cpp
llvm/test/CodeGen/WebAssembly/byval.ll
llvm/test/CodeGen/WebAssembly/cfg-stackify.ll
llvm/test/CodeGen/WebAssembly/offset.ll
llvm/test/CodeGen/WebAssembly/reg-stackify.ll
llvm/test/CodeGen/WebAssembly/store-results.ll [deleted file]
llvm/test/CodeGen/WebAssembly/userstack.ll