[PATCH] D140594: Add explicit template instantiation declarations.

David Blaikie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 23 12:08:47 PST 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rG171ab1bc1812: Add explicit template instantiation declarations for existing explicit… (authored by dblaikie).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D140594/new/

https://reviews.llvm.org/D140594

Files:
  mlir/include/mlir/IR/Dominance.h


Index: mlir/include/mlir/IR/Dominance.h
===================================================================
--- mlir/include/mlir/IR/Dominance.h
+++ mlir/include/mlir/IR/Dominance.h
@@ -24,6 +24,7 @@
 
 extern template class llvm::DominatorTreeBase<mlir::Block, false>;
 extern template class llvm::DominatorTreeBase<mlir::Block, true>;
+extern template class llvm::DomTreeNodeBase<mlir::Block>;
 
 namespace mlir {
 using DominanceInfoNode = llvm::DomTreeNodeBase<Block>;
@@ -109,6 +110,9 @@
   mutable DenseMap<Region *, llvm::PointerIntPair<DomTree *, 1, bool>>
       dominanceInfos;
 };
+
+extern template class DominanceInfoBase</*IsPostDom=*/true>;
+extern template class DominanceInfoBase</*IsPostDom=*/false>;
 } // namespace detail
 
 /// A class for computing basic dominance information. Note that this


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D140594.485152.patch
Type: text/x-patch
Size: 815 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221223/97ba9a04/attachment.bin>


More information about the llvm-commits mailing list