Skip to content

Commit fc1450c

Browse files
committed
[CriticalAntiDepBreaker] Attempt to fix MSVC build error. NFC
1 parent 170c0da commit fc1450c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/CodeGen/CriticalAntiDepBreaker.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ void CriticalAntiDepBreaker::PrescanInstruction(MachineInstr &MI) {
210210

211211
// If we're still willing to consider this register, note the reference.
212212
if (Classes[Reg.id()] != reinterpret_cast<TargetRegisterClass *>(-1))
213-
RegRefs.insert(std::make_pair(Reg, &MO));
213+
RegRefs.emplace(Reg, &MO);
214214

215215
if (MO.isUse() && Special) {
216216
if (!KeepRegs.test(Reg.id())) {

0 commit comments

Comments
 (0)