[all-commits] [llvm/llvm-project] f31db7: [MLIR] Replace splitBlock() with createBlock in Ge...

Alexander Belyaev via All-commits all-commits at lists.llvm.org
Sat Apr 25 08:43:00 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f31db760b347aaa7c4fe6054566b324445a4ddb5
      https://github.com/llvm/llvm-project/commit/f31db760b347aaa7c4fe6054566b324445a4ddb5
  Author: Alexander Belyaev <pifon at google.com>
  Date:   2020-04-25 (Sat, 25 Apr 2020)

  Changed paths:
    M mlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
    M mlir/test/Conversion/StandardToLLVM/convert-to-llvmir.mlir

  Log Message:
  -----------
  [MLIR] Replace splitBlock() with createBlock in GenericAtomicRMWOp lowering.

`addArgument()` is not undoable and should not be used in
ConversionPattern, therefore replacing `splitBlock()` with
`createBlock()`, that creates a block with specified args.

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




More information about the All-commits mailing list