diff options
author | Heejin Ahn <aheejin@gmail.com> | 2020-12-27 01:10:53 -0800 |
---|---|---|
committer | Heejin Ahn <aheejin@gmail.com> | 2021-01-09 02:42:35 -0800 |
commit | 0d8dfbb42a7d5e152bb98e50f170317ba60c47ef (patch) | |
tree | 20742252d196e53b8efa9d71b69f18ecc8a25059 /llvm/lib/CodeGen/MachineOutliner.cpp | |
parent | bb0e621387f86c1e40b39fcfd9127d4d18294748 (diff) | |
download | llvm-0d8dfbb42a7d5e152bb98e50f170317ba60c47ef.zip llvm-0d8dfbb42a7d5e152bb98e50f170317ba60c47ef.tar.gz llvm-0d8dfbb42a7d5e152bb98e50f170317ba60c47ef.tar.bz2 |
[WebAssembly] Update InstPrinter support for EH
- Updates InstPrinter to handle `catch_all`.
- Makes `rethrow` condition an early exit from the function to make the
rest simpler.
- Unify label and catch counters. They don't need to be counted
separately and this will help `delegate` instruction later.
- Removes `LastSeenEHInst` field. This was first introduced to handle
when there are more than one `catch` blocks per `try`, but this was
not implemented correctly and not being used at the moment anyway.
- Reenables all tests in cfg-stackify-eh.ll that don't deal with unwind
destination mismatches, which will be handled in a later CL.
Reviewed By: dschuff, tlively, aardappel
Differential Revision: https://reviews.llvm.org/D94043
Diffstat (limited to 'llvm/lib/CodeGen/MachineOutliner.cpp')
0 files changed, 0 insertions, 0 deletions