[PATCH] D26263: [WebAssembly] Emit a BasePointer when we have overly-aligned stack objects

Jacob Gravelle via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 2 14:37:36 PDT 2016


jgravelle-google created this revision.
jgravelle-google added reviewers: dschuff, sunfish.
jgravelle-google added a subscriber: llvm-commits.
Herald added a subscriber: jfb.

Because we shift the stack pointer by an unknown amount, we need an
additional pointer. In the case where we have variable-size objects
as well, we can't reuse the frame pointer, thus three pointers.


https://reviews.llvm.org/D26263

Files:
  lib/Target/WebAssembly/WebAssemblyFrameLowering.cpp
  lib/Target/WebAssembly/WebAssemblyFrameLowering.h
  lib/Target/WebAssembly/WebAssemblyMachineFunctionInfo.h
  test/CodeGen/WebAssembly/alignment.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26263.76790.patch
Type: text/x-patch
Size: 11536 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161102/d4d2cb42/attachment.bin>


More information about the llvm-commits mailing list