We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 170c0da commit fc1450cCopy full SHA for fc1450c
llvm/lib/CodeGen/CriticalAntiDepBreaker.cpp
@@ -210,7 +210,7 @@ void CriticalAntiDepBreaker::PrescanInstruction(MachineInstr &MI) {
210
211
// If we're still willing to consider this register, note the reference.
212
if (Classes[Reg.id()] != reinterpret_cast<TargetRegisterClass *>(-1))
213
- RegRefs.insert(std::make_pair(Reg, &MO));
+ RegRefs.emplace(Reg, &MO);
214
215
if (MO.isUse() && Special) {
216
if (!KeepRegs.test(Reg.id())) {
0 commit comments