Page MenuHomePhabricator

[DO NOT COMMIT][mlir] modernizer for LLVM dialect type syntax
Needs ReviewPublic

Authored by ftynse on Aug 4 2020, 5:16 AM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

This is a temporary tool to update the syntax of MLIR LLVM dialect
types. Build the mlir-modernize using regular ninja/make and use it to
update the out-of-tree test files that rely on the MLIR LLVM dialect
type syntax. The tool does _not_ parse the IR but operates on strings,
so it is able to update FileCheck lines except the lines containing
incomplete type specification or regex.

Diff Detail

Event Timeline

ftynse created this revision.Aug 4 2020, 5:16 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 4 2020, 5:16 AM
ftynse requested review of this revision.Aug 4 2020, 5:16 AM