[all-commits] [llvm/llvm-project] 08d720: [PowerPC] Update V17.0.0 release notes

Markus Böck via All-commits all-commits at lists.llvm.org
Wed Aug 30 23:56:18 PDT 2023


  Branch: refs/heads/release/17.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 08d720da6b1e0734e8ce137e8ead004dec63280b
      https://github.com/llvm/llvm-project/commit/08d720da6b1e0734e8ce137e8ead004dec63280b
  Author: Lei Huang <lei at ca.ibm.com>
  Date:   2023-08-30 (Wed, 30 Aug 2023)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M llvm/docs/ReleaseNotes.rst

  Log Message:
  -----------
  [PowerPC] Update V17.0.0 release notes


  Commit: ad5ed49a142ba9c69b6e24fdae11d10eca2287f3
      https://github.com/llvm/llvm-project/commit/ad5ed49a142ba9c69b6e24fdae11d10eca2287f3
  Author: Matthias Springer <me at m-sp.org>
  Date:   2023-08-31 (Thu, 31 Aug 2023)

  Changed paths:
    M mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp
    M mlir/test/Dialect/MemRef/canonicalize.mlir

  Log Message:
  -----------
  [mlir][memref] Fix crash in SubViewReturnTypeCanonicalizer

`SubViewReturnTypeCanonicalizer` is used by `OpWithOffsetSizesAndStridesConstantArgumentFolder`, which folds constant SSA value (dynamic) sizes into static sizes. The previous implementation crashed when a dynamic size was folded into a static `1` dimension, which was then mistaken as a rank reduction.

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


  Commit: 94f348b7842a2d3a00b5a7d6641b394c95486252
      https://github.com/llvm/llvm-project/commit/94f348b7842a2d3a00b5a7d6641b394c95486252
  Author: Balaji V. Iyer <bviyer at gmail.com>
  Date:   2023-08-31 (Thu, 31 Aug 2023)

  Changed paths:
    M mlir/lib/Dialect/Math/Transforms/ExpandPatterns.cpp
    M mlir/test/Dialect/Math/expand-math.mlir
    M mlir/test/mlir-cpu-runner/test-expand-math-approx.mlir

  Log Message:
  -----------
  [mlir][math] Modify math.powf to handle negative bases.

Powf expansion currently returns NaN when the base is negative.
This is because taking natural log of a negative number gives
NaN. This patch will square the base and half the exponent, thereby
getting around the negative base problem.

Reviewed By: rsuderman

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


  Commit: cc7e24c7a723fee9c4209663ea1517aeba34e42a
      https://github.com/llvm/llvm-project/commit/cc7e24c7a723fee9c4209663ea1517aeba34e42a
  Author: Matthias Springer <me at m-sp.org>
  Date:   2023-08-31 (Thu, 31 Aug 2023)

  Changed paths:
    M mlir/lib/IR/Dialect.cpp
    M mlir/unittests/IR/DialectTest.cpp

  Log Message:
  -----------
  [mlir] Fix crash when adding nested dialect extensions

A dialect extension can add additional dialect extensions in its `apply` function. This used to crash when the vector of `extensions` was internally reallocated while it is being iterated over.

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


  Commit: b66219d735006fafeeb2b2a1194821daee2f7245
      https://github.com/llvm/llvm-project/commit/b66219d735006fafeeb2b2a1194821daee2f7245
  Author: Markus Böck <markus.boeck02 at gmail.com>
  Date:   2023-08-31 (Thu, 31 Aug 2023)

  Changed paths:
    M mlir/lib/IR/AsmPrinter.cpp
    M mlir/test/IR/recursive-type.mlir
    M mlir/test/lib/Dialect/Test/TestDialect.cpp
    M mlir/test/lib/Dialect/Test/TestTypeDefs.td
    M mlir/test/lib/Dialect/Test/TestTypes.cpp
    M mlir/test/lib/Dialect/Test/TestTypes.h

  Log Message:
  -----------
  [mlir] Fix infinite recursion in alias initializer

The alias initializer keeps a list of child indices around. When an alias is then marked as non-deferrable, all children are also marked non-deferrable.

This is currently done naively which leads to an infinite recursion if using mutable types or attributes containing a cycle.

This patch fixes this by adding an early return if the alias is already marked non-deferrable. Since this function is the only way to mark an alias as non-deferrable, it is guaranteed that if it is marked non-deferrable, all its children are as well, and it is not required to walk all the children.
This incidentally makes the non-deferrable marking also `O(n)` instead of `O(n^2)` (although not performance sensitive obviously).

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


Compare: https://github.com/llvm/llvm-project/compare/45c677d8c62b...b66219d73500


More information about the All-commits mailing list