[all-commits] [llvm/llvm-project] 9546d8: [mlir][core] Add IndexElementsAttr helpers.
Sean Silva via All-commits
all-commits at lists.llvm.org
Wed May 27 13:40:18 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 9546d8b108dce03e03e0448cebbca5fa0fe4be21
https://github.com/llvm/llvm-project/commit/9546d8b108dce03e03e0448cebbca5fa0fe4be21
Author: Sean Silva <silvasean at google.com>
Date: 2020-05-27 (Wed, 27 May 2020)
Changed paths:
M mlir/include/mlir/IR/Builders.h
M mlir/include/mlir/IR/OpBase.td
M mlir/lib/IR/Attributes.cpp
M mlir/lib/IR/Builders.cpp
M mlir/test/lib/Dialect/Test/TestOps.td
M mlir/test/mlir-tblgen/types.mlir
Log Message:
-----------
[mlir][core] Add IndexElementsAttr helpers.
Summary:
In a follow-up, I'll update the Shape dialect to use this instead of
I64ElementsAttr.
Differential Revision: https://reviews.llvm.org/D80601
Commit: 25132b36a8b39e7c2b0b28aa73772e57191b6df4
https://github.com/llvm/llvm-project/commit/25132b36a8b39e7c2b0b28aa73772e57191b6df4
Author: Sean Silva <silvasean at google.com>
Date: 2020-05-27 (Wed, 27 May 2020)
Changed paths:
M mlir/include/mlir/Dialect/Shape/IR/ShapeOps.td
M mlir/lib/Dialect/Shape/IR/Shape.cpp
M mlir/test/Dialect/Shape/canonicalize.mlir
Log Message:
-----------
[mlir][shape] Use IndexElementsAttr in Shape dialect.
Summary:
Index is the proper type for storing shapes when constant folding, so
this fixes the previous code (which was using i64).
Differential Revision: https://reviews.llvm.org/D80600
Compare: https://github.com/llvm/llvm-project/compare/98ef93eabd76...25132b36a8b3
More information about the All-commits
mailing list