[all-commits] [llvm/llvm-project] 650635: [mlir][arith] Only fold splats for static shape re...

Kavan Bickerstaff via All-commits all-commits at lists.llvm.org
Thu May 23 10:59:16 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 650635586220aa8878397579744b71effb35938e
      https://github.com/llvm/llvm-project/commit/650635586220aa8878397579744b71effb35938e
  Author: Kavan Bickerstaff <kavanbickerstaff at googlemail.com>
  Date:   2024-05-23 (Thu, 23 May 2024)

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

  Log Message:
  -----------
  [mlir][arith] Only fold splats for static shape result types (#93102)

This prevents an assertion when constructing the DenseElementsAttr
result, where the passed-in type is expected to have a static shape.

Fixes https://github.com/llvm/llvm-project/issues/92057



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list