[all-commits] [llvm/llvm-project] a2100d: [mlir][LLVMIR] Fix oneToOneRewrite for zero-result...

Jeff Niu via All-commits all-commits at lists.llvm.org
Thu Aug 25 14:09:26 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a2100daf12fb980a29fd1a9c85ccf8eaaaf79730
      https://github.com/llvm/llvm-project/commit/a2100daf12fb980a29fd1a9c85ccf8eaaaf79730
  Author: Jeff Niu <jeff at modular.com>
  Date:   2022-08-25 (Thu, 25 Aug 2022)

  Changed paths:
    M mlir/lib/Conversion/LLVMCommon/Pattern.cpp

  Log Message:
  -----------
  [mlir][LLVMIR] Fix oneToOneRewrite for zero-result ops

`oneToOneRewrite` segfaulted for zero result-ops because a null type was being
passed to the op builders.

Reviewed By: rriddle

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




More information about the All-commits mailing list