[PATCH] D44134: [WebAssembly] Add WebAssemblyException information analysis
Heejin Ahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri May 25 04:44:12 PDT 2018
aheejin updated this revision to Diff 148585.
aheejin added a comment.
Updated exception grouping algorithm: now it simply gather all the BBs
dominated by an EH pad, rather than stopping at catchret/cleanupret/unreachable.
CFGStackify seems to work either way, and this makes things simpler:
1. We don't need to store frontier BBs ourselves and be able to just use existing MachineDominanceFrontier
2. We can replace catchret/cleanupret earlier in ExceptionPrepare, so we need a single pass rather than two passes.
Repository:
rL LLVM
https://reviews.llvm.org/D44134
Files:
include/llvm/CodeGen/MachineDominanceFrontier.h
lib/Target/WebAssembly/CMakeLists.txt
lib/Target/WebAssembly/WebAssembly.h
lib/Target/WebAssembly/WebAssemblyExceptionInfo.cpp
lib/Target/WebAssembly/WebAssemblyExceptionInfo.h
lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
unittests/Target/WebAssembly/CMakeLists.txt
unittests/Target/WebAssembly/WebAssemblyExceptionInfoTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44134.148585.patch
Type: text/x-patch
Size: 33777 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180525/04553d23/attachment.bin>
More information about the llvm-commits
mailing list