The limitation on iter_args introduced with D108806 is too restricting. Changes of the runtime type should be allowed.
Extends the dim op canonicalization with a simple analysis to determine when it is safe to canonicalize.
Paths
| Differential D109125
[mlir][scf] Allow runtime type of iter_args to change ClosedPublic Authored by springerm on Sep 1 2021, 7:39 PM.
Details Summary The limitation on iter_args introduced with D108806 is too restricting. Changes of the runtime type should be allowed. Extends the dim op canonicalization with a simple analysis to determine when it is safe to canonicalize.
Diff Detail
Event TimelineHerald added subscribers: wrengr, Chia-hungDuan, dcaballe and 18 others. · View Herald TranscriptSep 1 2021, 7:39 PM This revision is now accepted and ready to land.Sep 2 2021, 1:20 AM Closed by commit rG4fa6c2734c48: [mlir][scf] Allow runtime type of iter_args to change (authored by springerm). · Explain WhySep 2 2021, 6:07 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 370144 mlir/include/mlir/Dialect/SCF/SCFOps.td
mlir/lib/Dialect/SCF/Transforms/LoopCanonicalization.cpp
mlir/test/Dialect/SCF/for-loop-canonicalization.mlir
|