[all-commits] [llvm/llvm-project] 0a5300: [mlir] Avoid common folder assuming all types are ...

Jacques Pienaar via All-commits all-commits at lists.llvm.org
Tue Oct 3 10:42:11 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0a53005113329227419a34d4f6b2ff124ceec590
      https://github.com/llvm/llvm-project/commit/0a53005113329227419a34d4f6b2ff124ceec590
  Author: Jacques Pienaar <jpienaar at google.com>
  Date:   2023-10-03 (Tue, 03 Oct 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/CommonFolders.h
    M mlir/test/Dialect/Arith/canonicalize.mlir

  Log Message:
  -----------
  [mlir] Avoid common folder assuming all types are supported (#68054)

Previously this would just assume all conversions are possible and this
would crash. Use an in-tree testing case here.

---------

Co-authored-by: Jakub Kuderski <kubakuderski at gmail.com>




More information about the All-commits mailing list