[all-commits] [llvm/llvm-project] abe2de: [mlir] NFC Async: always use 'b' for the current b...

Eugene Zhulenev via All-commits all-commits at lists.llvm.org
Wed Feb 16 21:21:06 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: abe2dee5ebb97403a953a8b71f8ffa8b72cff861
      https://github.com/llvm/llvm-project/commit/abe2dee5ebb97403a953a8b71f8ffa8b72cff861
  Author: Eugene Zhulenev <ezhulenev at google.com>
  Date:   2022-02-16 (Wed, 16 Feb 2022)

  Changed paths:
    M mlir/lib/Dialect/Async/Transforms/AsyncParallelFor.cpp

  Log Message:
  -----------
  [mlir] NFC Async: always use 'b' for the current builder

Currently some of the nested IR building inconsistently uses `nb` and `b`, it's very easy to call wrong builder outside of the current scope, so for simplicity all builders are always called `b`, and in nested IR building regions they just shadow the "parent" builder.

Reviewed By: mehdi_amini

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




More information about the All-commits mailing list