[all-commits] [llvm/llvm-project] 87d77d: [mlir][IR] Insert operations before `SingleBlock`'...
vic via All-commits
all-commits at lists.llvm.org
Fri Sep 15 07:17:50 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 87d77d3cfb5049b3b3714f95b2e48bbc78d8c5f9
https://github.com/llvm/llvm-project/commit/87d77d3cfb5049b3b3714f95b2e48bbc78d8c5f9
Author: vic <victor.perez at codeplay.com>
Date: 2023-09-15 (Fri, 15 Sep 2023)
Changed paths:
M mlir/include/mlir/IR/Block.h
M mlir/include/mlir/IR/OpDefinition.h
M mlir/lib/IR/Block.cpp
Log Message:
-----------
[mlir][IR] Insert operations before `SingleBlock`'s terminator (#65959)
Change `SingleBlock::{insert,push_back}` to avoid inserting the argument
operation after the block's terminator. This allows removing
`SingleBlockImplicitTerminator`'s functions with the same name.
Define `Block::hasTerminator` checking whether the block has a
terminator operation.
Signed-off-by: Victor Perez <victor.perez at codeplay.com>
More information about the All-commits
mailing list