This is an archive of the discontinued LLVM Phabricator instance.

mlir/tblgen test: add a test for EnumAttr customAssemblyFormat
ClosedPublic

Authored by artagnon on Dec 14 2022, 10:26 AM.

Details

Summary

attr-or-type-format.td contains tests for various attributes and types,
but nowhere in the testsuite is the customAssemblyFormat for an EnumAttr
(enum class in C++) exercised. Fix this by adding a test.

Signed-off-by: Ramkumar Ramachandra <r@artagnon.com>

Diff Detail

Event Timeline

artagnon created this revision.Dec 14 2022, 10:26 AM
artagnon requested review of this revision.Dec 14 2022, 10:26 AM
Mogball accepted this revision.Dec 21 2022, 1:33 PM
This revision is now accepted and ready to land.Dec 21 2022, 1:33 PM