We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ecb21fa commit 2c05190Copy full SHA for 2c05190
mlir/include/mlir/IR/Block.h
@@ -273,6 +273,10 @@ class alignas(8) Block : public IRObjectWithUseList<BlockOperand>,
273
///
274
/// Note: This function performs a block graph traversal and its complexity
275
/// linear in the number of blocks in the parent region.
276
+ ///
277
+ /// Note: Reachability is a necessary but insufficient condition for
278
+ /// dominance. Do not use this function in places where you need to check for
279
+ /// dominance.
280
bool isReachable(Block *other, SmallPtrSet<Block *, 16> &&except = {});
281
282
//===--------------------------------------------------------------------===//
0 commit comments