This is an archive of the discontinued LLVM Phabricator instance.

[MLIR][NFC] FlatAffineConstraints: Refactor division representation computation
ClosedPublic

Authored by Groverkss on Nov 8 2021, 11:10 PM.

Details

Summary

This patch factors out division representation computation from upper-lower bound
inequalities to a separate function. This is done to improve readability and reuse.

This patch is marked NFC since the only change is factoring out existing code
to a separate function.

Diff Detail

Event Timeline

Groverkss created this revision.Nov 8 2021, 11:10 PM
Groverkss requested review of this revision.Nov 8 2021, 11:10 PM
Groverkss retitled this revision from [MLIR][NFC] FlatAffineConstraints: Refactor division representation computation This patch factors out division representation computation from upper-lower bound inequalities to a separate function. This is done to improve readability and reuse. to [MLIR][NFC] FlatAffineConstraints: Refactor division representation computationThis patch factors out division representation computation from upper-lowerbound inequalities to a separate function. This is done to improve readabilityand reuse..Nov 8 2021, 11:11 PM
Groverkss added reviewers: arjunp, bondhugula.
Groverkss retitled this revision from [MLIR][NFC] FlatAffineConstraints: Refactor division representation computationThis patch factors out division representation computation from upper-lowerbound inequalities to a separate function. This is done to improve readabilityand reuse. to [MLIR][NFC] FlatAffineConstraints: Refactor division representation computation.
Groverkss edited the summary of this revision. (Show Details)
Groverkss added a subscriber: grosser.
grosser accepted this revision.Nov 8 2021, 11:19 PM

This looks good to me.

This revision is now accepted and ready to land.Nov 8 2021, 11:19 PM