[PATCH] D12787: [WebAssembly] Add a CFG "stackifier" pass

Dan Gohman via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 10 17:05:11 PDT 2015


sunfish created this revision.
sunfish added a reviewer: jfb.
sunfish added subscribers: llvm-commits, jfb.
sunfish set the repository for this revision to rL LLVM.
Herald added a subscriber: dschuff.

This pass implements a simple algorithm for minimally converting a CFG into a minimally structured form suitable for WebAssembly, and implements a minimal branch and switch instructions.

It depends on the patch in http://reviews.llvm.org/D12786 .

Repository:
  rL LLVM

http://reviews.llvm.org/D12787

Files:
  lib/Target/WebAssembly/CMakeLists.txt
  lib/Target/WebAssembly/WebAssembly.h
  lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
  lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp
  lib/Target/WebAssembly/WebAssemblyISD.def
  lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
  lib/Target/WebAssembly/WebAssemblyISelLowering.h
  lib/Target/WebAssembly/WebAssemblyInstrControl.td
  lib/Target/WebAssembly/WebAssemblyInstrInfo.cpp
  lib/Target/WebAssembly/WebAssemblyInstrInfo.h
  lib/Target/WebAssembly/WebAssemblyInstrInfo.td
  lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
  test/CodeGen/WebAssembly/cfg-stackify.ll
  test/CodeGen/WebAssembly/phi.ll
  test/CodeGen/WebAssembly/switch.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12787.34513.patch
Type: text/x-patch
Size: 30799 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150911/3a2455db/attachment.bin>


More information about the llvm-commits mailing list