[all-commits] [llvm/llvm-project] e2a776: [mlir] Debug print pattern before and after matchA...

Ivan Butygin via All-commits all-commits at lists.llvm.org
Sat May 8 03:13:37 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e2a77644817fed9eb5a91d9e6cf4bc0c175f70e1
      https://github.com/llvm/llvm-project/commit/e2a77644817fed9eb5a91d9e6cf4bc0c175f70e1
  Author: Butygin <ivan.butygin at intel.com>
  Date:   2021-05-08 (Sat, 08 May 2021)

  Changed paths:
    M mlir/include/mlir/IR/PatternMatch.h
    M mlir/lib/Rewrite/PatternApplicator.cpp

  Log Message:
  -----------
  [mlir] Debug print pattern before and after matchAndRewrite call

Motivation: we have passes with lot of rewrites and when one one them segfaults or asserts, it is very hard to find waht exactly pattern failed without debug info.

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




More information about the All-commits mailing list