[all-commits] [llvm/llvm-project] db9713: [mlir] Add Tosa dialect const folder for tosa.const.
Stella Laurenzo via All-commits
all-commits at lists.llvm.org
Tue Nov 24 09:34:37 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: db9713cd776ac5963efc502a5db6b315335aad9a
https://github.com/llvm/llvm-project/commit/db9713cd776ac5963efc502a5db6b315335aad9a
Author: Stella Laurenzo <stellaraccident at gmail.com>
Date: 2020-11-24 (Tue, 24 Nov 2020)
Changed paths:
M mlir/include/mlir/Dialect/Tosa/IR/TosaOpBase.td
M mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td
M mlir/lib/Dialect/Tosa/IR/TosaOps.cpp
A mlir/test/Dialect/Tosa/constant_folding.mlir
Log Message:
-----------
[mlir] Add Tosa dialect const folder for tosa.const.
* Was missed in the initial submission and is required for a ConstantLike op.
* Also adds a materializeConstant hook to preserve it.
* Tightens up the argument constraint on tosa.const to match what is actually legal.
Differential Revision: https://reviews.llvm.org/D92040
More information about the All-commits
mailing list