[all-commits] [llvm/llvm-project] 55b6f1: Add a polynomial dialect shell, attributes, and ty...
Jeremy Kun via All-commits
all-commits at lists.llvm.org
Mon Apr 15 09:12:22 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 55b6f17071d25b77fcdc910ca9b15f89305137e0
https://github.com/llvm/llvm-project/commit/55b6f17071d25b77fcdc910ca9b15f89305137e0
Author: Jeremy Kun <jkun at google.com>
Date: 2024-04-15 (Mon, 15 Apr 2024)
Changed paths:
M mlir/include/mlir/Dialect/CMakeLists.txt
A mlir/include/mlir/Dialect/Polynomial/CMakeLists.txt
A mlir/include/mlir/Dialect/Polynomial/IR/CMakeLists.txt
A mlir/include/mlir/Dialect/Polynomial/IR/Polynomial.h
A mlir/include/mlir/Dialect/Polynomial/IR/Polynomial.td
A mlir/include/mlir/Dialect/Polynomial/IR/PolynomialAttributes.h
A mlir/include/mlir/Dialect/Polynomial/IR/PolynomialDialect.h
A mlir/include/mlir/Dialect/Polynomial/IR/PolynomialOps.h
A mlir/include/mlir/Dialect/Polynomial/IR/PolynomialTypes.h
M mlir/include/mlir/InitAllDialects.h
M mlir/lib/Dialect/CMakeLists.txt
A mlir/lib/Dialect/Polynomial/CMakeLists.txt
A mlir/lib/Dialect/Polynomial/IR/CMakeLists.txt
A mlir/lib/Dialect/Polynomial/IR/Polynomial.cpp
A mlir/lib/Dialect/Polynomial/IR/PolynomialAttributes.cpp
A mlir/lib/Dialect/Polynomial/IR/PolynomialDialect.cpp
A mlir/lib/Dialect/Polynomial/IR/PolynomialOps.cpp
A mlir/test/Dialect/Polynomial/attributes.mlir
A mlir/test/Dialect/Polynomial/types.mlir
Log Message:
-----------
Add a polynomial dialect shell, attributes, and types (#72081)
RFC:
https://discourse.llvm.org/t/rfc-a-poly-dialect-for-polynomial-arithmetic/73891
This PR implements the minimal work needed to represent the polynomial
type such that it can be tested with `lit`.
In this PR:
- Dialect shell
- `Polynomial` data structure needed for folding
- Polynomial attributes (`PolynomialAttr` and `RingAttr` which store a polynomial)
- `polynomial.polynomial` type
- Basic lit tests
---------
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