This is an archive of the discontinued LLVM Phabricator instance.

[MLIR][Presburger] Fix swap not swapping identifiers in IntegerRelation
AcceptedPublic

Authored by Groverkss on Mar 26 2023, 5:19 AM.

Details

Summary

This patch fixes a bug where identifiers were not swapped when doing a swap
in IntegerRelation

Diff Detail

Event Timeline

Groverkss created this revision.Mar 26 2023, 5:19 AM
Groverkss requested review of this revision.Mar 26 2023, 5:19 AM
arjunp accepted this revision.May 12 2023, 6:00 AM

Can you mention the method name in the title and/or description?

This revision is now accepted and ready to land.May 12 2023, 6:00 AM

Also, why is this dependent on another patch?

bondhugula added inline comments.May 13 2023, 9:56 AM
mlir/lib/Analysis/Presburger/IntegerRelation.cpp
381

A test case that exercises this?