WebAssembly: Don't store MachineFunction in MachineFunctionInfo
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 18 Jun 2020 14:32:32 +0000 (10:32 -0400)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 24 Jun 2020 14:52:58 +0000 (10:52 -0400)
commitc5d240093b60729829cb55823448e30bdfc69142
tree990d87eeabf968cecf580c4896dec028842a6c40
parent457db4036a14635c6bc6875a24e17c502a30f6e8
WebAssembly: Don't store MachineFunction in MachineFunctionInfo

Soon it will be disallowed to depend on MachineFunction state in the
constructor. This was only being used to get the MachineRegisterInfo
for an assert, which I'm not sure is necessarily worth it. I would
think any missing defs would be caught by the verifier later instead.
llvm/lib/Target/WebAssembly/WebAssemblyExplicitLocals.cpp
llvm/lib/Target/WebAssembly/WebAssemblyLowerBrUnless.cpp
llvm/lib/Target/WebAssembly/WebAssemblyMachineFunctionInfo.cpp
llvm/lib/Target/WebAssembly/WebAssemblyMachineFunctionInfo.h
llvm/lib/Target/WebAssembly/WebAssemblyPeephole.cpp
llvm/lib/Target/WebAssembly/WebAssemblyRegNumbering.cpp
llvm/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp