[all-commits] [llvm/llvm-project] b003eb: [MLIR][Linalg] Generalize splat constant folding

frgossen via All-commits all-commits at lists.llvm.org
Tue Apr 27 00:09:17 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b003ebd603c9b16ad65527f89c1a9898598ce6ff
      https://github.com/llvm/llvm-project/commit/b003ebd603c9b16ad65527f89c1a9898598ce6ff
  Author: Frederik Gossen <frgossen at google.com>
  Date:   2021-04-27 (Tue, 27 Apr 2021)

  Changed paths:
    M mlir/lib/Dialect/Linalg/Transforms/FusionOnTensors.cpp

  Log Message:
  -----------
  [MLIR][Linalg] Generalize splat constant folding

Splat constant folding was limited to `std.constant` operations. Instead, use
the constant matcher and apply splat constant folding to any constant-like
operation that holds a splat attribute.

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




More information about the All-commits mailing list