[all-commits] [llvm/llvm-project] 72f362: [mlir][Math] Fix 0-rank support for PolynomialAppr...

Kunwar Grover via All-commits all-commits at lists.llvm.org
Tue Nov 5 01:41:13 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 72f362170fbe7834febfe08d8bd1f7ba935ddbc9
      https://github.com/llvm/llvm-project/commit/72f362170fbe7834febfe08d8bd1f7ba935ddbc9
  Author: Kunwar Grover <groverkss at gmail.com>
  Date:   2024-11-05 (Tue, 05 Nov 2024)

  Changed paths:
    M mlir/lib/Dialect/Math/Transforms/PolynomialApproximation.cpp
    M mlir/test/Dialect/Math/polynomial-approximation.mlir

  Log Message:
  -----------
  [mlir][Math] Fix 0-rank support for PolynomialApproximation (#114826)

This patch disambiguates 0-rank vectors and scalars in
PolynomialApproximation. This fixes a bug in PolynomialApproximation
where 0-rank vectors would be treated as scalars and arguments would not
be broadcasted properly.



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