[all-commits] [llvm/llvm-project] 919e45: [Linalg] Remove Optional from getStaticLoopRanges ...

Han-Chung Wang via All-commits all-commits at lists.llvm.org
Tue May 3 05:13:19 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 919e459f1ba3bd3f93b50cac1077d685547250e5
      https://github.com/llvm/llvm-project/commit/919e459f1ba3bd3f93b50cac1077d685547250e5
  Author: Hanhan Wang <hanchung at google.com>
  Date:   2022-05-03 (Tue, 03 May 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/IR/LinalgInterfaces.td
    M mlir/lib/Dialect/Linalg/IR/LinalgInterfaces.cpp
    M mlir/lib/Dialect/Linalg/Transforms/ElementwiseOpFusion.cpp
    M mlir/lib/Dialect/Linalg/Transforms/SplitReduction.cpp

  Log Message:
  -----------
  [Linalg] Remove Optional from getStaticLoopRanges interface method.

It is very wrong if the ranges can't be infered. It's also checked in
verifyStructuredOpInterface, so we don't need the Optional return type.

Reviewed By: springerm

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




More information about the All-commits mailing list