[all-commits] [llvm/llvm-project] bb4aeb: [SPIRV] Don't specialize MachineModuleInfo to acce...

Justin Bogner via All-commits all-commits at lists.llvm.org
Mon Jul 29 14:51:27 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bb4aeb66ab4f39901ef6c1d01baf8b82b81cecfb
      https://github.com/llvm/llvm-project/commit/bb4aeb66ab4f39901ef6c1d01baf8b82b81cecfb
  Author: Justin Bogner <mail at justinbogner.com>
  Date:   2024-07-29 (Mon, 29 Jul 2024)

  Changed paths:
    M llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp

  Log Message:
  -----------
  [SPIRV] Don't specialize MachineModuleInfo to access the LLVMContext. NFC (#101085)

The MachineModuleInfo reference was removed from the MachineFunction in
#100357, which broke this code. Instead of finding another way to get at
the MMI, just avoid using it - we can get at the LLVMContext from the
MachineFunction itself.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list