[llvm] r315758 - [Legalizer] Use SmallSetVector instead of SetVector.
Quentin Colombet via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 13 14:16:14 PDT 2017
Author: qcolombet
Date: Fri Oct 13 14:16:14 2017
New Revision: 315758
URL: http://llvm.org/viewvc/llvm-project?rev=315758&view=rev
Log:
[Legalizer] Use SmallSetVector instead of SetVector.
NFC
Modified:
llvm/trunk/lib/CodeGen/GlobalISel/Legalizer.cpp
Modified: llvm/trunk/lib/CodeGen/GlobalISel/Legalizer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/GlobalISel/Legalizer.cpp?rev=315758&r1=315757&r2=315758&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/GlobalISel/Legalizer.cpp (original)
+++ llvm/trunk/lib/CodeGen/GlobalISel/Legalizer.cpp Fri Oct 13 14:16:14 2017
@@ -70,7 +70,7 @@ bool Legalizer::runOnMachineFunction(Mac
// 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) {
More information about the llvm-commits
mailing list