Skip to content

Commit 47cbb26

Browse files
bjopeAlexisPerry
authored andcommitted
[ScheduleDAG] Remove obsolete VReg2SUnitMap. NFC (llvm#96559)
The VReg2SUnitMap type is not used anywhere (it has probably been obsolete since commit 97d0ffb back in 2015). This commit simply removes the type definition.
1 parent 685b840 commit 47cbb26

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

llvm/include/llvm/CodeGen/ScheduleDAGInstrs.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
#include "llvm/ADT/PointerIntPair.h"
1919
#include "llvm/ADT/SmallVector.h"
2020
#include "llvm/ADT/SparseMultiSet.h"
21-
#include "llvm/ADT/SparseSet.h"
2221
#include "llvm/ADT/identity.h"
2322
#include "llvm/CodeGen/LiveRegUnits.h"
2423
#include "llvm/CodeGen/MachineBasicBlock.h"
@@ -91,12 +90,6 @@ namespace llvm {
9190
using RegUnit2SUnitsMap =
9291
SparseMultiSet<PhysRegSUOper, identity<unsigned>, uint16_t>;
9392

94-
/// Use SparseSet as a SparseMap by relying on the fact that it never
95-
/// compares ValueT's, only unsigned keys. This allows the set to be cleared
96-
/// between scheduling regions in constant time as long as ValueT does not
97-
/// require a destructor.
98-
using VReg2SUnitMap = SparseSet<VReg2SUnit, VirtReg2IndexFunctor>;
99-
10093
/// Track local uses of virtual registers. These uses are gathered by the DAG
10194
/// builder and may be consulted by the scheduler to avoid iterating an entire
10295
/// vreg use list.

0 commit comments

Comments
 (0)