[llvm] b4f519b - [NFCI] DwarfEHPrepare: update DomTree in non-permissive mode, when present
Roman Lebedev via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 4 14:26:51 PST 2021
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;
}
More information about the llvm-commits
mailing list