================
@@ -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
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits