[all-commits] [llvm/llvm-project] 61bab7: [MLIR] Replace OpBuilder(Block) with atBlockBegin ...

Tres via All-commits all-commits at lists.llvm.org
Wed Apr 1 01:06:51 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 61bab7c31a1b42d4e8be5060877843eb20d94644
      https://github.com/llvm/llvm-project/commit/61bab7c31a1b42d4e8be5060877843eb20d94644
  Author: Tres Popp <tpopp at google.com>
  Date:   2020-04-01 (Wed, 01 Apr 2020)

  Changed paths:
    M mlir/include/mlir/IR/Builders.h
    M mlir/lib/Dialect/SPIRV/SPIRVOps.cpp

  Log Message:
  -----------
  [MLIR] Replace OpBuilder(Block) with atBlockBegin and atBlockEnd

Summary:
OpBuilder(Block) is specifically replaced with
OpBuilder::atBlockEnd(Block);

This is to make insertion behavior clear due to there being no one
correct answer for which location in a block the default insertion
point should be.

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




More information about the All-commits mailing list