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 4aab9f7 commit a0af738Copy full SHA for a0af738
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