This is an archive of the discontinued LLVM Phabricator instance.

[flang] Adapt mlir based error status handling in `tco` tool
ClosedPublic

Authored by SouraVX on Feb 4 2021, 11:31 AM.

Diff Detail

Event Timeline

SouraVX created this revision.Feb 4 2021, 11:31 AM
SouraVX requested review of this revision.Feb 4 2021, 11:31 AM
SouraVX edited the summary of this revision. (Show Details)Feb 4 2021, 11:43 AM
This revision is now accepted and ready to land.Feb 4 2021, 11:46 AM
svedanayagam accepted this revision.Feb 4 2021, 12:03 PM

Looks good.

@mehdi_amini are you Okay with this patch ?

mehdi_amini accepted this revision.Feb 4 2021, 9:22 PM

Beyond this, is tco supposed to be the opt tool or do we need another one? If it is supposed to be the opt tool, can it be renamed fir-opt for consistency?

Beyond this, is tco supposed to be the opt tool or do we need another one? If it is supposed to be the opt tool, can it be renamed fir-opt for consistency?

We have a fir-opt tool that should be upstream soon. Once we have it tco will be more like mlir-translate in the end when we remove the emit-fir option.

Beyond this, is tco supposed to be the opt tool or do we need another one? If it is supposed to be the opt tool, can it be renamed fir-opt for consistency?

We have a fir-opt tool that should be upstream soon. Once we have it tco will be more like mlir-translate in the end when we remove the emit-fir option.

Yes, tco is the tool for testing LLVM code generation. fir-opt hasn't been merged yet.