[Mlir-commits] [mlir] [MLIR][IR] Rename `Block::hasTerminator` to `mightHaveTerminator` (PR #66870)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Wed Sep 20 13:06:00 PDT 2023


================
@@ -215,7 +215,7 @@ class Block : public IRObjectWithUseList<BlockOperand>,
   Operation *getTerminator();
 
   /// Check whether this block has a terminator.
----------------
victor-eds wrote:

Nice catch. Also updated the comments in `getTerminator`

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


More information about the Mlir-commits mailing list