[PATCH] D48262: [WebAssembly] Add more utility functions

Heejin Ahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 16 20:55:07 PDT 2018


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

Add more utility functions that will be used in EH-related passes
(ExceptionPrepare and CFGStackify). Also change `LoopBottom` function to
`getBottom` and uses templates to be able to handle other classes as
well, which will be used in CFGSort later.


Repository:
  rL LLVM

https://reviews.llvm.org/D48262

Files:
  lib/Target/WebAssembly/WebAssemblyCFGSort.cpp
  lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp
  lib/Target/WebAssembly/WebAssemblyUtilities.cpp
  lib/Target/WebAssembly/WebAssemblyUtilities.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48262.151632.patch
Type: text/x-patch
Size: 9796 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180617/232a5818/attachment.bin>


More information about the llvm-commits mailing list