You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 23, 2021. It is now read-only.
Repository navigation
This repository was archived by the owner on Apr 23, 2021. It is now read-only.
AffineApplyNormalizer::renumber isn't a publicly exposed method - it however generates invalid maps in some cases. Reproduce with two normalizers created with the maps below:
( )[s0] -> (s0) (%v1)
( )[s0] -> (s0) (%v2)
Calling renumber on the first with the second as argument yields:
( ) (s0) -> (s1) // invalid
The expressions it generates are correct, but the returned map's input dim/symbol count is incorrect (one instead of two here).
It doesn't affect any of the current test cases, but I think that's the bug here that may cause incorrect behavior if someone adds another helper method that reuses renumber.
Activity
bondhugula commentedon Aug 23, 2019
@nicolasvasilache I think the last line of AffineApplyNormalizer::renumber should have been
instead of
?
mlir/lib/AffineOps/AffineOps.cpp
Line 337 in d4e60dd
It doesn't affect any of the current test cases, but I think that's the bug here that may cause incorrect behavior if someone adds another helper method that reuses renumber.
nicolasvasilache commentedon Aug 26, 2019
antiagainst commentedon Aug 26, 2019
Oops, sorry my bad. Didn't notice @nicolasvasilache is OOO since this week. Reassigning to @andydavis1.
antiagainst commentedon Aug 26, 2019
Somehow I cannot set @andydavis1 as the assignee. So just @ here.
Clean up build trip count analysis method - avoid mutating IR
Clean up build trip count analysis method - avoid mutating IR
Clean up build trip count analysis method - avoid mutating IR