[llvm-branch-commits] [llvm] [WebAssembly] Port WebAssemblyExceptionAnalysis (PR #210246)
Aiden Grossman via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Jul 22 07:30:35 PDT 2026
================
@@ -185,6 +192,18 @@ class WebAssemblyExceptionInfoWrapperPass : public MachineFunctionPass {
const WebAssemblyExceptionInfo &getWEI() const { return WasmExceptionInfo; }
};
+class WebAssemblyExceptionAnalysis
+ : public AnalysisInfoMixin<WebAssemblyExceptionAnalysis> {
----------------
boomanaiden154 wrote:
No. The NewPM requires that the analysis and result that the analysis returns are separate classes. We could fold the `Result` class inside of the Analysis, but then it would be more difficult to share with the LegacyPM.
https://github.com/llvm/llvm-project/pull/210246
More information about the llvm-branch-commits
mailing list