[all-commits] [llvm/llvm-project] 795e72: [MLIR] Fix affine.for empty loop body folder

Uday Bondhugula via All-commits all-commits at lists.llvm.org
Wed Jul 21 19:42:18 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 795e726f5f15a6f07d146255721fe3d392c6a618
      https://github.com/llvm/llvm-project/commit/795e726f5f15a6f07d146255721fe3d392c6a618
  Author: Uday Bondhugula <uday at polymagelabs.com>
  Date:   2021-07-22 (Thu, 22 Jul 2021)

  Changed paths:
    M mlir/lib/Dialect/Affine/IR/AffineOps.cpp
    M mlir/test/Dialect/Affine/canonicalize.mlir

  Log Message:
  -----------
  [MLIR] Fix affine.for empty loop body folder

Fix affine.for empty loop body folder in the presence of yield values.
The existing pattern ignored iter_args/yield values and thus crashed
when yield values had uses.

Reviewed By: mehdi_amini

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




More information about the All-commits mailing list