[all-commits] [llvm/llvm-project] 08521a: [mlir][EDSC] Allow conditionBuilder to capture the...

Nicolas Vasilache via All-commits all-commits at lists.llvm.org
Fri Jul 17 08:18:19 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 08521abb3a7cafa50a0acdb16eca75162d96f514
      https://github.com/llvm/llvm-project/commit/08521abb3a7cafa50a0acdb16eca75162d96f514
  Author: Nicolas Vasilache <ntv at google.com>
  Date:   2020-07-17 (Fri, 17 Jul 2020)

  Changed paths:
    M mlir/include/mlir/Dialect/SCF/EDSC/Builders.h
    M mlir/lib/Dialect/SCF/EDSC/Builders.cpp

  Log Message:
  -----------
  [mlir][EDSC] Allow conditionBuilder to capture the IfOp

When the IfOp returns values, it can easily be obtained from one of the Values.
However, when no values are returned, the information is lost.
This revision lets the caller specify a capture IfOp* to return the produced
IfOp.

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




More information about the All-commits mailing list