[PATCH] D11691: [WebAssembly] Add Relooper
Alon Zakai
azakai at mozilla.com
Fri Jul 31 13:06:19 PDT 2015
azakai created this revision.
azakai added a reviewer: sunfish.
azakai added a subscriber: llvm-commits.
azakai set the repository for this revision to rL LLVM.
Herald added a subscriber: jfb.
This is just an initial checkin of an implementation of the Relooper algorithm, in preparation for WebAssembly codegen to utilize. It doesn't do anything yet by itself.
The Relooper algorithm takes an arbitrary control flow graph and generates structured control flow from that, utilizing a helper variable when necessary to handle irreducibility. The WebAssembly backend will be able to use this in order to generate an AST for its binary format.
Repository:
rL LLVM
http://reviews.llvm.org/D11691
Files:
lib/Target/WebAssembly/Relooper.cpp
lib/Target/WebAssembly/Relooper.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11691.31155.patch
Type: text/x-patch
Size: 52832 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150731/24617f35/attachment.bin>
More information about the llvm-commits
mailing list