Skip to content

Commit b698e06

Browse files
committed
[NFC] Remove adhoc definition of MDMapT in IRMover
Summary: The typedef was there probably because the type alias in ValueMap was private. Test Plan: ninja check-llvm-unit check-llvm stack-info: PR: #118626, branch: users/artempyanykh/fast-coro-upstream/7
1 parent 302580a commit b698e06

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

llvm/include/llvm/Linker/IRMover.h

+1-3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
#include "llvm/ADT/ArrayRef.h"
1313
#include "llvm/ADT/DenseSet.h"
1414
#include "llvm/ADT/FunctionExtras.h"
15+
#include "llvm/IR/ValueMap.h"
1516
#include <functional>
1617

1718
namespace llvm {
@@ -41,9 +42,6 @@ class IRMover {
4142
static bool isEqual(const StructType *LHS, const StructType *RHS);
4243
};
4344

44-
/// Type of the Metadata map in \a ValueToValueMapTy.
45-
typedef DenseMap<const Metadata *, TrackingMDRef> MDMapT;
46-
4745
public:
4846
class IdentifiedStructTypeSet {
4947
// The set of opaque types is the composite module.

llvm/lib/Linker/IRMover.cpp

-3
Original file line numberDiff line numberDiff line change
@@ -373,9 +373,6 @@ class LocalValueMaterializer final : public ValueMaterializer {
373373
Value *materialize(Value *V) override;
374374
};
375375

376-
/// Type of the Metadata map in \a ValueToValueMapTy.
377-
typedef DenseMap<const Metadata *, TrackingMDRef> MDMapT;
378-
379376
/// This is responsible for keeping track of the state used for moving data
380377
/// from SrcM to DstM.
381378
class IRLinker {

0 commit comments

Comments
 (0)