diff options
| author | Nikita Popov <npopov@redhat.com> | 2023-12-04 10:17:59 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-04 10:17:59 +0100 |
| commit | ea668144d9c6d93fbe2ea7827bd8e8cbaf4c50dd (patch) | |
| tree | af9010597addd62e23c754bc7f23135caa5be945 /llvm/lib/CodeGen/StackSlotColoring.cpp | |
| parent | a3fe9cb24da302a40c53d187271e472a6432c4f1 (diff) | |
[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.
Diffstat (limited to 'llvm/lib/CodeGen/StackSlotColoring.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/StackSlotColoring.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/StackSlotColoring.cpp b/llvm/lib/CodeGen/StackSlotColoring.cpp index 16a1203262e5..c180f4d8f036 100644 --- a/llvm/lib/CodeGen/StackSlotColoring.cpp +++ b/llvm/lib/CodeGen/StackSlotColoring.cpp @@ -27,6 +27,7 @@ #include "llvm/CodeGen/MachineOperand.h" #include "llvm/CodeGen/Passes.h" #include "llvm/CodeGen/PseudoSourceValue.h" +#include "llvm/CodeGen/PseudoSourceValueManager.h" #include "llvm/CodeGen/SlotIndexes.h" #include "llvm/CodeGen/TargetInstrInfo.h" #include "llvm/CodeGen/TargetSubtargetInfo.h" |
