This is an archive of the discontinued LLVM Phabricator instance.

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

Authored by ftynse on Aug 4 2020, 5:16 AM.

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