WebAssembly: Remove MachineFunction reference from MFI
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 2 Nov 2022 21:46:00 +0000 (14:46 -0700)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Sat, 12 Nov 2022 00:38:51 +0000 (16:38 -0800)
commitff2b60bbcb28701c86b200b0c03439a2e6ef6b44
tree97fc1c0f6de4bac8fe4410a1870448e3bf4678b0
parent76db4e3c439e6bc2921690e501ba025998f4599d
WebAssembly: Remove MachineFunction reference from MFI

The MachineFunctionInfo here is a bit awkward because
WasmEHInfo is in the MachineFunction but handled from
the target code. Either everything should move into WebAssembly
or into the MachineFunction for MIR serialization.
llvm/include/llvm/CodeGen/MachineFunction.h
llvm/lib/Target/WebAssembly/WebAssemblyMachineFunctionInfo.cpp
llvm/lib/Target/WebAssembly/WebAssemblyMachineFunctionInfo.h
llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp