[all-commits] [llvm/llvm-project] 616c86: [mlir][drr] Set operand segment in rewrite

Jacques Pienaar via All-commits all-commits at lists.llvm.org
Thu Oct 19 13:06:35 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 616c86accbf4c9ada37da6fb6b04554dec0fffee
      https://github.com/llvm/llvm-project/commit/616c86accbf4c9ada37da6fb6b04554dec0fffee
  Author: Jacques Pienaar <jpienaar at google.com>
  Date:   2023-10-19 (Thu, 19 Oct 2023)

  Changed paths:
    M mlir/test/lib/Dialect/Test/TestOps.td
    M mlir/test/mlir-tblgen/pattern.mlir
    M mlir/tools/mlir-tblgen/RewriterGen.cpp

  Log Message:
  -----------
  [mlir][drr] Set operand segment in rewrite

This allows some basic variadic operands in rewrites. There were some workarounds employed (like "aliasing" the attribute). Couldn't find a way to do this directly with properties.




More information about the All-commits mailing list