[PATCH] D140594: Add explicit template instantiation declarations.

Thomas Köppe via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 22 17:47:04 PST 2022


tkoeppe updated this revision to Diff 485004.
tkoeppe added a comment.
Herald added a project: MLIR.

Updated diff to one made with `-U9999`.


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.485004.patch
Type: text/x-patch
Size: 815 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221223/3cec41bc/attachment.bin>


More information about the llvm-commits mailing list