[all-commits] [llvm/llvm-project] c96168: [MLIR] Flag no-terminator error on the last operat...

Rahul Joshi via All-commits all-commits at lists.llvm.org
Mon Nov 9 09:42:53 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c96168975b25e58d72f03de4929255a5b499df42
      https://github.com/llvm/llvm-project/commit/c96168975b25e58d72f03de4929255a5b499df42
  Author: Rahul Joshi <jurahul at google.com>
  Date:   2020-11-09 (Mon, 09 Nov 2020)

  Changed paths:
    M mlir/lib/IR/Verifier.cpp
    M mlir/test/IR/invalid.mlir

  Log Message:
  -----------
  [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




More information about the All-commits mailing list