[PATCH] D18234: [WebAssembly] Stackify code emitted by eliminateFrameIndex and SP writeback
Derek Schuff via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 16 17:31:34 PDT 2016
dschuff added a comment.
I still need to add some lit tests for the new FI placement behavior, but I've ensured no torture regressions, and you can take a look at the approach.
To find the insertion point we could have used def/use information but a lot of it is unavailable when this pass runs, and this ended up much simpler.
Also the extra epilog stackification turns out to be important because s2wasm can reorder things (I'll post more on that tomorrow but see https://pastebin.mozilla.org/8863952 for example).
More information about the llvm-commits