[Mlir-commits] [mlir] [mlir][IR] `DominanceInfo`: Add function to query dominator of a range of block (PR #77098)

Aart Bik llvmlistbot at llvm.org
Fri Jan 5 10:13:07 PST 2024


================
@@ -73,33 +73,35 @@ class BufferPlacementAllocs {
   AllocEntryList allocs;
 };
 
+/// Finds a common dominator for the given value while taking the positions
+/// of the values in the value set into account. It supports dominator and
+/// post-dominator analyses via template arguments.
----------------
aartbik wrote:

The "If no common dominator can be found, this function will return nullptr" part (generalized) is a bit lost after this merge. Perhaps add it back here?

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


More information about the Mlir-commits mailing list