This is an archive of the discontinued LLVM Phabricator instance.

[NFC] Improve debug message in getAsIntegerSet
ClosedPublic

Authored by bondhugula on Nov 24 2021, 12:15 AM.

Details

Summary

Improve debug message in getAsIntegerSet. Add missing trailing new line
and position info.

Diff Detail

Event Timeline

bondhugula created this revision.Nov 24 2021, 12:15 AM
bondhugula requested review of this revision.Nov 24 2021, 12:15 AM
Groverkss added inline comments.Nov 24 2021, 1:02 AM
mlir/lib/Analysis/AffineStructures.cpp
3570

I think a better way to write this would be:

local variable(s) at position var1, var2, var3 do not have an explicit representation in:

dump output

That is, print all indexes for which the representation could not be obtained.

bondhugula marked an inline comment as done.

Print all local var positions with no explicit rep.

Groverkss accepted this revision.Nov 24 2021, 8:26 AM

LGTM! Thank you for this improvement.

This revision is now accepted and ready to land.Nov 24 2021, 8:26 AM

position -> position(s)

This revision was landed with ongoing or failed builds.Nov 24 2021, 7:21 PM
This revision was automatically updated to reflect the committed changes.