HomePhabricator

[MLIR] Flag no-terminator error on the last operation of non-empty blocks

Authored by jurahul on Nov 6 2020, 4:24 PM.

Description

[MLIR] Flag no-terminator error on the last operation of non-empty blocks

  • When a block is not empty and does not end with a terminator, flag the error on the last operation of the block instead of the start of the block.

Differential Revision: https://reviews.llvm.org/D90988