Skip to content

Commit 9d2c5e6

Browse files
Use SmallSetVector
1 parent d7e69ed commit 9d2c5e6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

llvm/lib/CodeGen/GlobalISel/InstructionSelect.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,7 @@ InstructionSelect::InstructionSelect(CodeGenOptLevel OL, char &PassID)
7878
class InstructionSelect::MIIteratorMaintainer
7979
: public MachineFunction::Delegate {
8080
#ifndef NDEBUG
81-
SetVector<const MachineInstr *, SmallVector<const MachineInstr *, 8>,
82-
DenseSet<const MachineInstr *>, 8>
83-
CreatedInstrs;
81+
SmallSetVector<const MachineInstr *, 32> CreatedInstrs;
8482
#endif
8583
public:
8684
MachineBasicBlock::reverse_iterator MII;

0 commit comments

Comments
 (0)