[all-commits] [llvm/llvm-project] d3a31c: Remove case in rewritergen unmatched opdefgen side

Jacques Pienaar via All-commits all-commits at lists.llvm.org
Mon Apr 6 16:04:08 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: d3a31c4db4e97ce30966f800238a0139134bffa7
      https://github.com/llvm/llvm-project/commit/d3a31c4db4e97ce30966f800238a0139134bffa7
  Author: Jacques Pienaar <jpienaar at google.com>
  Date:   2020-04-06 (Mon, 06 Apr 2020)

  Changed paths:
    M mlir/tools/mlir-tblgen/RewriterGen.cpp

  Log Message:
  -----------
  Remove case in rewritergen unmatched opdefgen side

The rewriter generates a call to build that is not handled by opdef generator
and so will fail to compile. Also if this is a root node being replaced
(depth 0) then using the more generic build method in the rewrite suffices.




More information about the All-commits mailing list