[PATCH] D46425: Clear converters map after X86 Domain Reassignment to avoid crashes
Dimitry Andric via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat May 12 13:03:49 PDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL332176: Clear converters map after X86 Domain Reassignment to avoid crashes (authored by dim, committed by ).
Repository:
rL LLVM
https://reviews.llvm.org/D46425
Files:
llvm/trunk/lib/Target/X86/X86DomainReassignment.cpp
Index: llvm/trunk/lib/Target/X86/X86DomainReassignment.cpp
===================================================================
--- llvm/trunk/lib/Target/X86/X86DomainReassignment.cpp
+++ llvm/trunk/lib/Target/X86/X86DomainReassignment.cpp
@@ -750,8 +750,7 @@
Changed = true;
}
- for (auto I : Converters)
- delete I.second;
+ DeleteContainerSeconds(Converters);
DEBUG(dbgs() << "***** Machine Function after Domain Reassignment *****\n");
DEBUG(MF.print(dbgs()));
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46425.146483.patch
Type: text/x-patch
Size: 491 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180512/b5190f9c/attachment.bin>
More information about the llvm-commits
mailing list