[all-commits] [llvm/llvm-project] e36867: [mlir][polynomial] implement add for polynomial da...

Jeremy Kun via All-commits all-commits at lists.llvm.org
Fri May 17 09:52:35 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e3686755eab66604335e246ed7b30033ab71dbbc
      https://github.com/llvm/llvm-project/commit/e3686755eab66604335e246ed7b30033ab71dbbc
  Author: Jeremy Kun <jkun at google.com>
  Date:   2024-05-17 (Fri, 17 May 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/Polynomial/IR/Polynomial.h
    M mlir/unittests/Dialect/CMakeLists.txt
    A mlir/unittests/Dialect/Polynomial/CMakeLists.txt
    A mlir/unittests/Dialect/Polynomial/PolynomialMathTest.cpp

  Log Message:
  -----------
  [mlir][polynomial] implement add for polynomial data structure (#92169)

A change extracted from https://github.com/llvm/llvm-project/pull/91655,
where I'm still trying to get the attributes working for elementwise
constant folding of polynomial ops. This piece is self-contained.

- use CRTP for base classes
- Add unit test

---------

Co-authored-by: Jeremy Kun <j2kun at users.noreply.github.com>



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