[all-commits] [llvm/llvm-project] 51fb5b: [WebAssembly] Support WasmEHFuncInfo serialization
Heejin Ahn via All-commits
all-commits at lists.llvm.org
Mon Feb 22 13:14:22 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 51fb5bf4d6c91075abdfd24769ef60fcfd810baa
https://github.com/llvm/llvm-project/commit/51fb5bf4d6c91075abdfd24769ef60fcfd810baa
Author: Heejin Ahn <aheejin at gmail.com>
Date: 2021-02-22 (Mon, 22 Feb 2021)
Changed paths:
M llvm/lib/Target/WebAssembly/WebAssemblyMachineFunctionInfo.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyMachineFunctionInfo.h
M llvm/test/CodeGen/WebAssembly/function-info.mir
Log Message:
-----------
[WebAssembly] Support WasmEHFuncInfo serialization
This adds support for serialization of `WasmEHFuncInfo`, in the form of
<Source BB Number, Unwind destination BB number>. To make YAML mapping
work, we needed to make a copy of the existing `SrcToUnwindDest` map
within `yaml::WebAssemblyMachineFunctionInfo`.
It was hard to add EH MIR tests for CFGStackify because `WasmEHFuncInfo`
could not be read from test MIR files. This adds the serialization
support for that to make EH MIR tests easier.
Reviewed By: dschuff
Differential Revision: https://reviews.llvm.org/D97174
More information about the All-commits
mailing list