Unverified Commit 87d77d3c authored by vic's avatar vic Committed by GitHub
Browse files

[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: default avatarVictor Perez <victor.perez@codeplay.com>
parent b64bf895
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment