This is an archive of the discontinued LLVM Phabricator instance.

[mlir][nvgpu] Use TableGen TypeDef for NVGPU dialect types
ClosedPublic

Authored by christopherbate on Sep 23 2022, 1:43 PM.

Details

Summary

Moves definition of DeviceAsyncToken to use the declarative Tablegen
TypeDef since the type is trivial. This also allows for removing the
current code for parsing/printing types by using the auto-generated
functions.

Diff Detail

Event Timeline

christopherbate requested review of this revision.Sep 23 2022, 1:43 PM

Fix missing newline

ThomasRaoux accepted this revision.Sep 23 2022, 1:46 PM

nice :)

This revision is now accepted and ready to land.Sep 23 2022, 1:46 PM