Heejin Ahn
095796a391
[WebAssembly] Split BBs after throw instructions
...
Summary:
`throw` instruction is a terminator in wasm, but BBs were not splitted
after `throw` instructions, causing machine instruction verifier to
fail.
This patch
- Splits BBs after `throw` instructions in WasmEHPrepare and adding an
unreachable instruction after `throw`, which will be deleted in
LateEHPrepare pass
- Refactors WasmEHPrepare into two member functions
- Changes the semantics of `eraseBBsAndChildren` in LateEHPrepare pass
to match that of WasmEHPrepare pass, which is newly added. Now
`eraseBBsAndChildren` does not delete BBs with remaining predecessors.
- Fixes style nits, making static function names conform to clang-tidy
- Re-enables the test temporarily disabled by rL346840 && rL346845
Reviewers: dschuff
Subscribers: sbc100, jgravelle-google, sunfish, llvm-commits
Differential Revision: https://reviews.llvm.org/D54571
llvm-svn: 347003
2018-11-16 00:47:18 +00:00
..
2018-11-13 19:14:02 +00:00
2018-08-27 15:45:51 +00:00
2018-10-25 23:45:48 +00:00
2018-08-27 15:45:51 +00:00
2018-08-27 15:45:51 +00:00
2018-08-27 15:45:51 +00:00
2018-11-06 00:31:02 +00:00
2018-10-04 23:31:00 +00:00
2018-08-27 15:45:51 +00:00
2018-10-24 23:31:24 +00:00
2018-08-27 15:45:51 +00:00
2018-08-27 15:45:51 +00:00
2018-09-14 20:22:45 +00:00
2018-09-14 20:22:45 +00:00
2018-09-14 20:22:45 +00:00
2018-09-14 20:22:45 +00:00
2018-08-27 15:45:51 +00:00
2018-10-11 00:01:25 +00:00
2018-08-27 15:45:51 +00:00
2018-05-10 17:49:11 +00:00
2018-05-10 17:49:11 +00:00
2018-05-10 17:49:11 +00:00
2018-05-10 17:49:11 +00:00
2018-08-27 15:45:51 +00:00
2018-10-25 23:55:10 +00:00
2018-11-16 00:47:18 +00:00
2018-08-27 15:45:51 +00:00
2018-08-27 15:45:51 +00:00
2018-10-13 07:26:10 +00:00
2018-10-13 07:26:10 +00:00
2018-08-27 15:45:51 +00:00
2018-08-27 15:45:51 +00:00
2018-08-27 15:45:51 +00:00
2018-08-27 15:45:51 +00:00
2018-08-27 15:45:51 +00:00
2018-08-27 15:45:51 +00:00
2018-08-27 15:45:51 +00:00
2018-11-06 00:31:02 +00:00
2018-11-06 00:31:02 +00:00
2018-08-27 15:45:51 +00:00
2018-05-10 17:49:11 +00:00
2018-08-27 15:45:51 +00:00
2018-08-27 15:45:51 +00:00
2018-08-27 15:45:51 +00:00
2018-08-27 15:45:51 +00:00
2018-05-10 17:49:11 +00:00
2018-08-27 15:45:51 +00:00
2018-08-27 15:45:51 +00:00
2018-11-13 18:14:29 +00:00
2018-10-31 23:50:53 +00:00
2018-08-27 15:45:51 +00:00
2018-08-27 15:45:51 +00:00
2018-08-27 15:45:51 +00:00
2018-11-12 20:15:01 +00:00
2018-09-12 21:34:39 +00:00
2018-08-27 15:45:51 +00:00
2018-08-27 15:45:51 +00:00
2018-08-27 15:45:51 +00:00
2018-08-27 15:45:51 +00:00
2018-08-27 15:45:51 +00:00
2018-08-27 15:45:51 +00:00
2018-08-27 15:45:51 +00:00
2018-08-27 15:45:51 +00:00
2018-05-10 17:49:11 +00:00
2018-10-02 22:12:15 +00:00
2018-11-08 22:56:26 +00:00
2018-10-02 22:12:15 +00:00
2018-08-27 15:45:51 +00:00
2018-11-06 00:31:02 +00:00
2018-11-06 00:31:02 +00:00
2018-11-06 00:31:02 +00:00
2018-08-27 15:45:51 +00:00
2018-08-27 15:45:51 +00:00
2018-08-27 15:45:51 +00:00
2018-08-27 15:45:51 +00:00
2018-05-10 17:49:11 +00:00
2018-08-27 15:45:51 +00:00
2018-08-27 15:45:51 +00:00
2018-08-27 15:45:51 +00:00
2018-08-27 15:45:51 +00:00
2018-08-27 15:45:51 +00:00
2018-08-27 15:45:51 +00:00
2018-11-08 02:35:28 +00:00
2018-08-27 15:45:51 +00:00
2018-05-10 17:49:11 +00:00
2018-08-27 15:45:51 +00:00
2018-10-29 18:38:12 +00:00
2018-08-27 15:45:51 +00:00
2018-08-27 15:45:51 +00:00
2018-08-27 15:45:51 +00:00
2018-11-02 00:39:57 +00:00
2018-09-21 18:46:39 +00:00
2018-10-20 01:35:23 +00:00
2018-10-02 01:52:21 +00:00
2018-10-25 01:46:07 +00:00
2018-10-25 19:06:13 +00:00
2018-10-31 23:58:20 +00:00
2018-10-24 23:27:40 +00:00
2018-10-31 23:58:20 +00:00
2018-11-09 01:38:44 +00:00
2018-10-20 01:35:23 +00:00
2018-11-02 00:06:56 +00:00
2018-08-27 15:45:51 +00:00
2018-10-23 00:28:14 +00:00
2018-08-27 15:45:51 +00:00
2018-08-27 15:45:51 +00:00
2018-08-27 15:45:51 +00:00
2018-08-27 15:45:51 +00:00
2018-08-27 15:45:51 +00:00
2018-08-27 15:45:51 +00:00
2018-08-27 15:45:51 +00:00
2018-05-10 17:49:11 +00:00
2018-08-30 01:01:30 +00:00
2018-08-27 15:45:51 +00:00
2018-11-02 00:45:00 +00:00
2018-08-27 15:45:51 +00:00
2018-07-02 16:03:49 +00:00
2018-08-27 15:45:51 +00:00
2018-11-16 00:47:18 +00:00