[all-commits] [llvm/llvm-project] 7f6f18: [SPIRV] Stop including SPIRVInstrInfo.h in MCTarge...

Craig Topper via All-commits all-commits at lists.llvm.org
Mon Feb 24 09:31:18 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7f6f186736c81ab3ca1881ed9d5569ffc1050df8
      https://github.com/llvm/llvm-project/commit/7f6f186736c81ab3ca1881ed9d5569ffc1050df8
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2025-02-24 (Mon, 24 Feb 2025)

  Changed paths:
    M llvm/lib/Target/SPIRV/MCTargetDesc/SPIRVBaseInfo.h
    M llvm/lib/Target/SPIRV/MCTargetDesc/SPIRVInstPrinter.cpp
    M llvm/lib/Target/SPIRV/SPIRVMCInstLower.cpp

  Log Message:
  -----------
  [SPIRV] Stop including SPIRVInstrInfo.h in MCTargetDesc. NFC (#128443)

SPIRVInstrInfo.h is a CodeGen layer file, it should not be used in MC
layer files.

This required adding a new enum for MCInst flags and a conversion from
MachineInstr's AsmPrinter flags in SPIRVMCInstLower.



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