]> granicus.if.org Git - llvm/commit
[WebAssembly] Split CFG-sorting into its own pass. NFC.
authorDan Gohman <dan433584@gmail.com>
Mon, 27 Feb 2017 22:38:58 +0000 (22:38 +0000)
committerDan Gohman <dan433584@gmail.com>
Mon, 27 Feb 2017 22:38:58 +0000 (22:38 +0000)
commita746da8ffc66787cf26a36df2085545cbe739e90
treec45ba6d26e2c43b668da4b1a292fa9a08e1c7655
parentb03535ccf2deda0aa7272157208afeb2f333ef34
[WebAssembly] Split CFG-sorting into its own pass. NFC.

CFG sorting was already an independent algorithm from block/loop insertion;
this change makes it more convenient to debug.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@296399 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/WebAssembly/CMakeLists.txt
lib/Target/WebAssembly/WebAssembly.h
lib/Target/WebAssembly/WebAssemblyCFGSort.cpp [new file with mode: 0644]
lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp
lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
lib/Target/WebAssembly/WebAssemblyUtilities.cpp
lib/Target/WebAssembly/WebAssemblyUtilities.h