]> granicus.if.org Git - llvm/commitdiff
[Legalizer] Use SmallSetVector instead of SetVector.
authorQuentin Colombet <qcolombet@apple.com>
Fri, 13 Oct 2017 21:16:14 +0000 (21:16 +0000)
committerQuentin Colombet <qcolombet@apple.com>
Fri, 13 Oct 2017 21:16:14 +0000 (21:16 +0000)
NFC

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@315758 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/GlobalISel/Legalizer.cpp

index a9847dea3cee5c743f8a5420f62f45b6f6cfc661..83e5dc4025d04aace061752b26a7f404371c7633 100644 (file)
@@ -70,7 +70,7 @@ bool Legalizer::runOnMachineFunction(MachineFunction &MF) {
   // convergence for performance reasons.
   bool Changed = false;
   MachineBasicBlock::iterator NextMI;
-  using VecType = SetVector<MachineInstr *, SmallVector<MachineInstr *, 8>>;
+  using VecType = SmallSetVector<MachineInstr *, 8>;
   VecType WorkList;
   VecType CombineList;
   for (auto &MBB : MF) {