aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineOperand.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2023-12-04 10:17:59 +0100
committerGitHub <noreply@github.com>2023-12-04 10:17:59 +0100
commitea668144d9c6d93fbe2ea7827bd8e8cbaf4c50dd (patch)
treeaf9010597addd62e23c754bc7f23135caa5be945 /llvm/lib/CodeGen/MachineOperand.cpp
parenta3fe9cb24da302a40c53d187271e472a6432c4f1 (diff)
downloadllvm-ea668144d9c6d93fbe2ea7827bd8e8cbaf4c50dd.zip
llvm-ea668144d9c6d93fbe2ea7827bd8e8cbaf4c50dd.tar.gz
llvm-ea668144d9c6d93fbe2ea7827bd8e8cbaf4c50dd.tar.bz2
[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/MachineOperand.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineOperand.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/MachineOperand.cpp b/llvm/lib/CodeGen/MachineOperand.cpp
index b6d6a75..12d6b79 100644
--- a/llvm/lib/CodeGen/MachineOperand.cpp
+++ b/llvm/lib/CodeGen/MachineOperand.cpp
@@ -18,6 +18,7 @@
#include "llvm/CodeGen/MachineFrameInfo.h"
#include "llvm/CodeGen/MachineJumpTableInfo.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
+#include "llvm/CodeGen/PseudoSourceValueManager.h"
#include "llvm/CodeGen/TargetInstrInfo.h"
#include "llvm/CodeGen/TargetRegisterInfo.h"
#include "llvm/Config/llvm-config.h"