[all-commits] [llvm/llvm-project] ee2deb: [mlir] Handle simple commutative cases in CSE.

Jacques Pienaar via All-commits all-commits at lists.llvm.org
Thu Dec 14 16:09:21 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ee2deb4cf70e9468510750070435f29ca7482d02
      https://github.com/llvm/llvm-project/commit/ee2deb4cf70e9468510750070435f29ca7482d02
  Author: Jacques Pienaar <jpienaar at google.com>
  Date:   2023-12-14 (Thu, 14 Dec 2023)

  Changed paths:
    M flang/test/Fir/commute.fir
    M mlir/include/mlir/IR/OperationSupport.h
    M mlir/lib/IR/OperationSupport.cpp

  Log Message:
  -----------
  [mlir] Handle simple commutative cases in CSE.

Tried to keep this simple while handling obvious CSE instances. For more
complicated cases the expectation is still that the sorting pass would
run before. While simple, this case did turn up in a real deployed
instance where it had a large (>10% e2e) impact. This can of course be
refined.




More information about the All-commits mailing list