[all-commits] [llvm/llvm-project] a5b3f8: [MLIR][MemRef] Add missing #include for FailureOr

Chenguang Wang via All-commits all-commits at lists.llvm.org
Tue Mar 28 12:33:42 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a5b3f8bf40cfffba5b98739bcdc36bc1dd9856d2
  Author: Chenguang Wang <w3cing at gmail.com>
  Date:   2023-03-28 (Tue, 28 Mar 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/MemRef/Transforms/Transforms.h
    M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel

  Log Message:
  [MLIR][MemRef] Add missing #include for FailureOr

FailureOr was used without including correct headers, so the code only works if the user of Transform.h includes the correct headers first.

Reviewed By: jyknight

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

More information about the All-commits mailing list