[PATCH] D78864: [MLIR] Add getBody() method to SingleImplicitBlockTerminator op trait.

Mehdi AMINI via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 25 10:36:49 PDT 2020


mehdi_amini accepted this revision.
mehdi_amini added a comment.

LGTM, thanks!



================
Comment at: mlir/include/mlir/IR/Builders.h:214
+    assert(terminatorIt->isKnownTerminator() &&
+           "The laster operation in the block is not a known terminator.");
+    return OpBuilder(block, terminatorIt);
----------------
`laster` -> `last`?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D78864/new/

https://reviews.llvm.org/D78864





More information about the llvm-commits mailing list