[all-commits] [llvm/llvm-project] 6e8a8c: [mlir] Fix bug in use of rewiter for AtomicRMWOp.

Tres via All-commits all-commits at lists.llvm.org
Mon Nov 9 07:00:54 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6e8a8c2d7e6c5091ee5c838e8cafafa72dbfca59
      https://github.com/llvm/llvm-project/commit/6e8a8c2d7e6c5091ee5c838e8cafafa72dbfca59
  Author: Tres Popp <tpopp at google.com>
  Date:   2020-11-09 (Mon, 09 Nov 2020)

  Changed paths:
    M mlir/lib/Dialect/StandardOps/Transforms/ExpandAtomic.cpp

  Log Message:
  -----------
  [mlir] Fix bug in use of rewiter for AtomicRMWOp.

The legalization did not forward the listener which prevents dynamic
legalization and prevents rollbacks. This handled that and then changed
the associated pass to support all other std ops to support partial
conversion.

Previously, this lowering was failing, but due to the
initial bug, the op's modifications were not reverted, and thus the
pattern matching succeeded.

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




More information about the All-commits mailing list