[PATCH] D71681: [WIP] [WebAssembly] Track frame registers through VReg and local allocation

Derek Schuff via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 18 17:02:53 PST 2019


dschuff created this revision.
Herald added subscribers: llvm-commits, sunfish, aheejin, hiraditya, jgravelle-google, sbc100.
Herald added a project: LLVM.

Depends on D52634 <https://reviews.llvm.org/D52634>
Allow WebAssemblyFunctionInfo::getFrameRegister to return a virtual register
instead of FP32/SP32 after WebAssemblyReplacePhysRegs has run.
Make WebAssemblyExplicitLocals store the local it allocates for the frame register


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D71681

Files:
  llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
  llvm/lib/Target/WebAssembly/WebAssemblyExplicitLocals.cpp
  llvm/lib/Target/WebAssembly/WebAssemblyMachineFunctionInfo.h
  llvm/lib/Target/WebAssembly/WebAssemblyRegisterInfo.cpp
  llvm/lib/Target/WebAssembly/WebAssemblyRegisterInfo.h
  llvm/lib/Target/WebAssembly/WebAssemblyReplacePhysRegs.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71681.234642.patch
Type: text/x-patch
Size: 8331 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191219/58745bfc/attachment.bin>


More information about the llvm-commits mailing list