[all-commits] [llvm/llvm-project] 02981c: [MLIR][IR] Rename `Block::hasTerminator` to `might...
vic via All-commits
all-commits at lists.llvm.org
Thu Sep 21 07:43:39 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 02981c9635f256ae4fb66171633a19eb9326557d
https://github.com/llvm/llvm-project/commit/02981c9635f256ae4fb66171633a19eb9326557d
Author: vic <victor.perez at codeplay.com>
Date: 2023-09-21 (Thu, 21 Sep 2023)
Changed paths:
M mlir/include/mlir/IR/Block.h
M mlir/lib/Dialect/Transform/IR/TransformOps.cpp
M mlir/lib/IR/Block.cpp
Log Message:
-----------
[MLIR][IR] Rename `Block::hasTerminator` to `mightHaveTerminator` (#66870)
This `Block` member function introduced in
87d77d3cfb5049b3b3714f95b2e48bbc78d8c5f9 may be misleading to users as
the last operation in the block might have not been registered, so there
would be no way to ensure that is a terminator.
---------
Signed-off-by: Victor Perez <victor.perez at codeplay.com>
More information about the All-commits
mailing list