diff options
author | Heejin Ahn <aheejin@gmail.com> | 2019-02-27 00:50:53 +0000 |
---|---|---|
committer | Heejin Ahn <aheejin@gmail.com> | 2019-02-27 00:50:53 +0000 |
commit | cf699b4534e6e0285d1a6899b5237c5fd9100ab7 (patch) | |
tree | 3b2da62357bb85f10548932a310ae5a1153bda67 /libcxx/test/std/strings/basic.string/string.cons/substr.pass.cpp | |
parent | 6d6288ae977bfdb08dc2b731f34d9b1ebfc68748 (diff) | |
download | bcm5719-llvm-cf699b4534e6e0285d1a6899b5237c5fd9100ab7.tar.gz bcm5719-llvm-cf699b4534e6e0285d1a6899b5237c5fd9100ab7.zip |
[WebAssembly] Remove unnecessary instructions after TRY marker placement
Summary:
This removes unnecessary instructions after TRY marker placement. There
are two cases:
- `end`/`end_block` can be removed if they overlap with `try`/`end_try`
and they have the same return types.
- `br` right before `catch` that branches to after `end_try` can be
deleted.
Reviewers: dschuff
Subscribers: sbc100, jgravelle-google, sunfish, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D58591
llvm-svn: 354939
Diffstat (limited to 'libcxx/test/std/strings/basic.string/string.cons/substr.pass.cpp')
0 files changed, 0 insertions, 0 deletions