[llvm] [DominanceFrontier] Support post-dominators on graphs with single root (PR #179336)

Ramkumar Ramachandra via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 9 03:22:58 PST 2026


================
@@ -0,0 +1,94 @@
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#include "../lib/Transforms/Vectorize/VPlan.h"
+
+#include "VPlanTestBase.h"
+#include "llvm/Analysis/DominanceFrontier.h"
+#include "llvm/Analysis/DominanceFrontierImpl.h"
+#include "gtest/gtest.h"
+
+namespace llvm {
----------------
artagnon wrote:

```suggestion
using namespace llvm;
```

https://github.com/llvm/llvm-project/pull/179336


More information about the llvm-commits mailing list