[all-commits] [llvm/llvm-project] b80a9c: [MLIR] Allow non-binary operations to be commutative

stephenneuendorffer via All-commits all-commits at lists.llvm.org
Mon Feb 10 10:25:03 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b80a9ca8cbc19beb6117d7a05e3403adc598a059
      https://github.com/llvm/llvm-project/commit/b80a9ca8cbc19beb6117d7a05e3403adc598a059
  Author: Stephen Neuendorffer <stephen.neuendorffer at xilinx.com>
  Date:   2020-02-10 (Mon, 10 Feb 2020)

  Changed paths:
    M mlir/include/mlir/IR/OperationSupport.h
    M mlir/lib/Transforms/Utils/FoldUtils.cpp
    M mlir/test/Transforms/test-canonicalize.mlir
    M mlir/test/lib/TestDialect/TestOps.td

  Log Message:
  -----------
  [MLIR] Allow non-binary operations to be commutative

NFC for binary operations.

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


  Commit: 12df427fb2225e1957771ba31e4e6e3350f2e4a9
      https://github.com/llvm/llvm-project/commit/12df427fb2225e1957771ba31e4e6e3350f2e4a9
  Author: Stephen Neuendorffer <stephen.neuendorffer at xilinx.com>
  Date:   2020-02-10 (Mon, 10 Feb 2020)

  Changed paths:
    M mlir/include/mlir/Dialect/StandardOps/Ops.td
    M mlir/lib/Dialect/StandardOps/Ops.cpp
    M mlir/test/Transforms/canonicalize.mlir

  Log Message:
  -----------
  [MLIR][Standard] Add folding for indexCast(indexCast(x)) -> x

Allow this only if the types are the same.  e.g.:
i16 -> index -> i16  or
index -> i16 -> index

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


  Commit: ed56633fb926e76c34ab9959428ef0f965f409f7
      https://github.com/llvm/llvm-project/commit/ed56633fb926e76c34ab9959428ef0f965f409f7
  Author: Stephen Neuendorffer <stephen.neuendorffer at xilinx.com>
  Date:   2020-02-10 (Mon, 10 Feb 2020)

  Changed paths:
    M mlir/lib/Dialect/StandardOps/Ops.cpp
    M mlir/test/Transforms/canonicalize.mlir

  Log Message:
  -----------
  [MLIR][Standard] Implement constant folding for IndexCast

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


  Commit: 1eba3f326c480f262ac27bfb61b4dccb9b2c8496
      https://github.com/llvm/llvm-project/commit/1eba3f326c480f262ac27bfb61b4dccb9b2c8496
  Author: Stephen Neuendorffer <stephen.neuendorffer at xilinx.com>
  Date:   2020-02-10 (Mon, 10 Feb 2020)

  Changed paths:
    M mlir/lib/ExecutionEngine/CMakeLists.txt

  Log Message:
  -----------
  [MLIR] Fix lib/ExecutionEngine for BUILD_SHARED_LIBS=on


  Commit: 4468188db8ae39cad6c5f5cc085a4b4bcda7ee7e
      https://github.com/llvm/llvm-project/commit/4468188db8ae39cad6c5f5cc085a4b4bcda7ee7e
  Author: Stephen Neuendorffer <stephen.neuendorffer at xilinx.com>
  Date:   2020-02-10 (Mon, 10 Feb 2020)

  Changed paths:
    M mlir/lib/Dialect/Linalg/EDSC/CMakeLists.txt

  Log Message:
  -----------
  [MLIR] Fix lib/Dialect/Linalg/EDSC for BUILD_SHARED_LIBS=on


Compare: https://github.com/llvm/llvm-project/compare/1f5542006502...4468188db8ae


More information about the All-commits mailing list