This is an archive of the discontinued LLVM Phabricator instance.

[MLIR] Add unit test for tblgen Op build methods
AbandonedPublic

Authored by jurahul on Jul 17 2020, 3:41 PM.

Details

Reviewers
None
Summary
  • Initiate the unit test with a test that tests various variants of build() methods generated for ops with variadic operands and results.
  • The intent is to migrate unit .td tests in mlir/test/mlir-tblgen that check for generated C++ code to these unit tests which test both that the generated code compiles and also is functionally correct.

Diff Detail

Event Timeline

jurahul created this revision.Jul 17 2020, 3:41 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 17 2020, 3:41 PM
jurahul abandoned this revision.Jul 17 2020, 3:45 PM