[all-commits] [llvm/llvm-project] ea6681: [CodeGen] Split off PseudoSourceValueManager into ...

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Dec 4 01:18:12 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ea668144d9c6d93fbe2ea7827bd8e8cbaf4c50dd
      https://github.com/llvm/llvm-project/commit/ea668144d9c6d93fbe2ea7827bd8e8cbaf4c50dd
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-12-04 (Mon, 04 Dec 2023)

  Changed paths:
    M llvm/include/llvm/CodeGen/PseudoSourceValue.h
    A llvm/include/llvm/CodeGen/PseudoSourceValueManager.h
    M llvm/lib/CodeGen/MIRParser/MIParser.cpp
    M llvm/lib/CodeGen/MachineFunction.cpp
    M llvm/lib/CodeGen/MachineOperand.cpp
    M llvm/lib/CodeGen/PseudoSourceValue.cpp
    M llvm/lib/CodeGen/StackColoring.cpp
    M llvm/lib/CodeGen/StackSlotColoring.cpp
    M llvm/lib/Target/Mips/MipsMachineFunction.cpp
    M llvm/tools/llvm-reduce/ReducerWorkItem.cpp

  Log Message:
  -----------
  [CodeGen] Split off PseudoSourceValueManager into separate header (NFC) (#73327)

Most users of PseudoSourceValue.h only need PseudoSourceValue, not the
PseudoSourceValueManager. However, this header pulls in some very
expensive dependencies like ValueMap.h, which is only used for the
manager.

Split off the manager into a separate header and include it only where
used.




More information about the All-commits mailing list