This commits adds division normalization in the getDivRepr function which extracts
the gcd from the dividend and divisor and normalizes them.
Signed-off-by: Prashant Kumar <pk5561@gmail.com>
Paths
| Differential D115595
[MLIR] Add division normalization by GCD in `getDivRepr` fn. ClosedPublic Authored by pashu123 on Dec 12 2021, 1:03 AM.
Details Summary This commits adds division normalization in the getDivRepr function which extracts Signed-off-by: Prashant Kumar <pk5561@gmail.com>
Diff Detail
Event TimelineHerald added subscribers: sdasgup3, wenzhicui, wrengr and 20 others. · View Herald TranscriptDec 12 2021, 1:03 AM
Comment Actions The commit summary and title is missing context on where the normalization is being added. Please update.
pashu123 added inline comments. pashu123 retitled this revision from [MLIR] Add division normalization. to [MLIR] Add division normalization by GCD in `getDivRepr` fn..Dec 16 2021, 3:59 AM pashu123 marked an inline comment as done. Comment Actions LGTM. But, I would wait for @bondhugula to accept this in case he has any remaining concerns. Comment Actions
Reminder.
This revision is now accepted and ready to land.Jan 6 2022, 2:21 AM Closed by commit rGdf29318e667c: [MLIR] Add division normalization by GCD in `getDivRepr` fn. (authored by pashu123, committed by Groverkss). · Explain WhyJan 6 2022, 2:52 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 394813 mlir/lib/Analysis/AffineStructures.cpp
mlir/unittests/Analysis/AffineStructuresTest.cpp
|