diff options
| author | Dan Gohman <dan433584@gmail.com> | 2016-03-09 02:01:14 +0000 |
|---|---|---|
| committer | Dan Gohman <dan433584@gmail.com> | 2016-03-09 02:01:14 +0000 |
| commit | d7a2eea619e179b722442748fa096c8429ff6ae0 (patch) | |
| tree | b2fef41bf54f1693b68322179efcf545b10e67bb /llvm/lib/Target/WebAssembly/WebAssembly.h | |
| parent | d2d989609f503a59a6ddecb02170de546f8cffa4 (diff) | |
| download | bcm5719-llvm-d7a2eea619e179b722442748fa096c8429ff6ae0.tar.gz bcm5719-llvm-d7a2eea619e179b722442748fa096c8429ff6ae0.zip | |
[WebAssembly] Implement irreducible control flow.
This implements a very simple conservative transformation that doesn't
require more than linear code size growth. There's room for much more
optimization in this space.
llvm-svn: 262982
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssembly.h')
| -rw-r--r-- | llvm/lib/Target/WebAssembly/WebAssembly.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssembly.h b/llvm/lib/Target/WebAssembly/WebAssembly.h index 6ac0db84ecb..1b9de43e4f8 100644 --- a/llvm/lib/Target/WebAssembly/WebAssembly.h +++ b/llvm/lib/Target/WebAssembly/WebAssembly.h @@ -34,6 +34,7 @@ FunctionPass *createWebAssemblyStoreResults(); FunctionPass *createWebAssemblyRegStackify(); FunctionPass *createWebAssemblyRegColoring(); FunctionPass *createWebAssemblyPEI(); +FunctionPass *createWebAssemblyFixIrreducibleControlFlow(); FunctionPass *createWebAssemblyCFGStackify(); FunctionPass *createWebAssemblyLowerBrUnless(); FunctionPass *createWebAssemblyRegNumbering(); |

