This is an archive of the discontinued LLVM Phabricator instance.

[mlir][Index] Add pretty result names for ConstantOp and BoolConstantOp
ClosedPublic

Authored by rriddle on Dec 2 2022, 12:49 AM.

Details

Summary

ConstantOp uses %idx<value> and BoolConstantOp uses true/false, which
is similar to the printing for arith::ConstantOp.

Diff Detail

Event Timeline

rriddle created this revision.Dec 2 2022, 12:49 AM
rriddle requested review of this revision.Dec 2 2022, 12:49 AM
nicolasvasilache accepted this revision.Dec 2 2022, 1:26 AM
This revision is now accepted and ready to land.Dec 2 2022, 1:26 AM
This revision was landed with ongoing or failed builds.Dec 2 2022, 1:34 AM
This revision was automatically updated to reflect the committed changes.
lattner added a subscriber: lattner.Dec 2 2022, 2:31 PM

nice, thank you for this!