[WebAssembly] Support combining GEP and FrameIndex offsets in memory operand offset...
authorDerek Schuff <dschuff@google.com>
Thu, 7 Jan 2016 18:55:52 +0000 (18:55 +0000)
committerDerek Schuff <dschuff@google.com>
Thu, 7 Jan 2016 18:55:52 +0000 (18:55 +0000)
commitd9b4137f9f5983bf7fc7bc1adccc016d5b09bb7b
tree56a99a2b893e815f9fcbbfae248adf167a5a5330
parent181f7cc0f351761876b331ed7e9d8c263a3865f3
[WebAssembly] Support combining GEP and FrameIndex offsets in memory operand offset field

Previously we only supported putting the FI into memory operand offset
fields if there was nothing there already. Now combine them.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257084 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/WebAssembly/WebAssemblyRegisterInfo.cpp
test/CodeGen/WebAssembly/userstack.ll