Currently, in sparse constant propagation analysis, the lattice ConstantValue stores the dialect of the operation that creates the constant.
This patch tries to remove the ConstantValue::dialect field.
However, I don't think this works.
Paths
| Differential D133250
[DO NOT SUBMIT] Remove ConstantValue::dialect. Needs ReviewPublic Authored by phisiart on Sep 3 2022, 1:23 AM. This revision needs review, but there are no reviewers specified.
Details
Summary Currently, in sparse constant propagation analysis, the lattice ConstantValue stores the dialect of the operation that creates the constant. This patch tries to remove the ConstantValue::dialect field. However, I don't think this works.
Diff Detail
Revision Contents
Diff 457773 mlir/include/mlir/Analysis/DataFlow/ConstantPropagationAnalysis.h
mlir/lib/Analysis/DataFlow/ConstantPropagationAnalysis.cpp
mlir/lib/Analysis/DataFlow/IntegerRangeAnalysis.cpp
mlir/lib/Transforms/SCCP.cpp
mlir/test/Transforms/sccp.mlir
mlir/test/lib/Analysis/DataFlow/TestDeadCodeAnalysis.cpp
|