[all-commits] [llvm/llvm-project] cf8c73: Fix LinalgOps build error on older clang versions

Erich Keane via All-commits all-commits at lists.llvm.org
Fri Jan 31 06:33:38 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cf8c730ce931e0a38ce4bfd00660c5eacf10d992
      https://github.com/llvm/llvm-project/commit/cf8c730ce931e0a38ce4bfd00660c5eacf10d992
  Author: erichkeane <ekeane at nvidia.com>
  Date:   2025-01-31 (Fri, 31 Jan 2025)

  Changed paths:
    M mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp

  Log Message:
  -----------
  Fix LinalgOps build error on older clang versions

As reported in the PR #123618, 0d4efa27252cbbea4b56 included a
construction of a `FailureOr` object with a `nullptr`, which didn't work
in at least clang-10.  This patch changes it into a constructor call
instead of a brace-init call so that it is unambiguous.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list