[llvm] Overhaul the TargetMachine and LLVMTargetMachine Classes (PR #111234)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 9 10:36:30 PDT 2024


================
@@ -256,7 +256,7 @@ struct LandingPadInfo {
 
 class LLVM_ABI MachineFunction {
   Function &F;
-  const LLVMTargetMachine &Target;
----------------
arsenm wrote:

If you're in MachineFunction, you are definitely using CodeGen. So why wouldn't MachineFunction reference the lowest common subclass for codegen? 

https://github.com/llvm/llvm-project/pull/111234


More information about the llvm-commits mailing list