This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Enhance mlir-opt show-dialects test case
ClosedPublic

Authored by Lewuathe on Dec 26 2020, 4:43 AM.

Details

Summary

mlir-opt supports many more test cases. All available dialects supported by latest mlir-opt should be coverted in the test case.

Diff Detail

Event Timeline

Lewuathe created this revision.Dec 26 2020, 4:43 AM
Lewuathe requested review of this revision.Dec 26 2020, 4:43 AM
Lewuathe retitled this revision from Enhance mlir-opt show-dialects test case to [mlir] Enhance mlir-opt show-dialects test case.Dec 26 2020, 4:45 AM
Lewuathe edited the summary of this revision. (Show Details)
aartbik accepted this revision.Jan 5 2021, 9:58 AM
This revision is now accepted and ready to land.Jan 5 2021, 9:58 AM
mehdi_amini added inline comments.Jan 5 2021, 11:33 AM
mlir/test/mlir-opt/commandline.mlir
3–29

If we want this list to stay up-to-date, we should use CHECK-NEXT everywhere.

Lewuathe added inline comments.Jan 7 2021, 4:55 PM
mlir/test/mlir-opt/commandline.mlir
3–29

@mehdi_amini Thank you! That's a good idea. I'll update the patch.

Lewuathe updated this revision to Diff 315283.Jan 7 2021, 6:23 PM

Use CHECK-NEXT

mehdi_amini accepted this revision.Jan 7 2021, 7:17 PM

Still LGTM! Do you have commit access or do you need someone to land it for you?

@mehdi_amini I do not have write access. Could you do that on behalf of me? Thank you!

This revision was automatically updated to reflect the committed changes.