Page MenuHomePhabricator

[DO NOT COMMIT][mlir] modernizer for ODS OpBuilder syntax
Needs ReviewPublic

Authored by ftynse on Oct 15 2020, 8:00 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 OpBuilder in ODS so that it
uses the dag-based version. It is based on a relatively simple parser and
formatter, which may require minor manual corrections.

Usage: mlir-tblgen-modernize filename.td

Diff Detail

Unit TestsFailed

TimeTest
360 mslinux > HWAddressSanitizer-x86_64.TestCases::sizes.cpp
Script: -- : 'RUN: at line 3'; /mnt/disks/ssd0/agent/llvm-project/build/./bin/clang --driver-mode=g++ -m64 -gline-tables-only -fsanitize=hwaddress -fuse-ld=lld -mcmodel=large -mllvm -hwasan-globals -mllvm -hwasan-use-short-granules -mllvm -hwasan-instrument-landing-pads=0 -mllvm -hwasan-instrument-personality-functions /mnt/disks/ssd0/agent/llvm-project/compiler-rt/test/hwasan/TestCases/sizes.cpp -nostdlib++ -lstdc++ -o /mnt/disks/ssd0/agent/llvm-project/build/projects/compiler-rt/test/hwasan/X86_64/TestCases/Output/sizes.cpp.tmp

Event Timeline

ftynse created this revision.Oct 15 2020, 8:00 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptOct 15 2020, 8:00 AM
ftynse requested review of this revision.Oct 15 2020, 8:00 AM
ftynse updated this revision to Diff 300976.Oct 27 2020, 6:29 AM

Support more cases for $_builder and $_state