Author: Roman Lebedev Date: 2021-01-05T01:26:36+03:00 New Revision: b4f519bddda853443405d21728154c481837e18b
URL: https://github.com/llvm/llvm-project/commit/b4f519bddda853443405d21728154c481837e18b DIFF: https://github.com/llvm/llvm-project/commit/b4f519bddda853443405d21728154c481837e18b.diff LOG: [NFCI] DwarfEHPrepare: update DomTree in non-permissive mode, when present Being stricter will catch issues that would be just papered over in permissive mode, and is likely faster. Added: Modified: llvm/lib/CodeGen/DwarfEHPrepare.cpp Removed: ################################################################################ diff --git a/llvm/lib/CodeGen/DwarfEHPrepare.cpp b/llvm/lib/CodeGen/DwarfEHPrepare.cpp index c1b764214546..97e0162f35a1 100644 --- a/llvm/lib/CodeGen/DwarfEHPrepare.cpp +++ b/llvm/lib/CodeGen/DwarfEHPrepare.cpp @@ -243,7 +243,7 @@ bool DwarfEHPrepare::InsertUnwindResumeCalls() { new UnreachableInst(Ctx, UnwindBB); if (DTU && RequireAndPreserveDomTree) - DTU->applyUpdatesPermissive(Updates); + DTU->applyUpdates(Updates); return true; } _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits