[all-commits] [llvm/llvm-project] 6005a1: [mlir][scf] Match any constants instead of arith.c...

Jeff Niu via All-commits all-commits at lists.llvm.org
Wed Oct 12 18:02:13 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6005a1d8af32608a0f2ddddb0eaddbe39ec3271b
      https://github.com/llvm/llvm-project/commit/6005a1d8af32608a0f2ddddb0eaddbe39ec3271b
  Author: Jeff Niu <jeff at modular.com>
  Date:   2022-10-12 (Wed, 12 Oct 2022)

  Changed paths:
    M mlir/lib/Dialect/SCF/IR/SCF.cpp

  Log Message:
  -----------
  [mlir][scf] Match any constants instead of arith.constant

By matching `arith.constant` specifically, SCF canonicalizers/folders
are incompatible with other kinds of constants. Use the generic
matchers instead.

Reviewed By: rriddle

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




More information about the All-commits mailing list