This is an archive of the discontinued LLVM Phabricator instance.

[mlir] silence unused-function warnings in table-generated code
ClosedPublic

Authored by ftynse on Feb 15 2021, 1:52 AM.

Diff Detail

Event Timeline

ftynse created this revision.Feb 15 2021, 1:52 AM
ftynse requested review of this revision.Feb 15 2021, 1:52 AM
ftynse updated this revision to Diff 323913.Feb 16 2021, 1:19 AM

Use cross-platform macros

OOC is this something that could be handled consistently from the generated code side?

mehdi_amini accepted this revision.Feb 16 2021, 8:54 PM

This is a bit ugly, if what Jacques mentions could be implemented it'd be better, in the meantime this is likely fine to get rid of the warning. Can you add a one line doc in both places explaining why this is there?

This revision is now accepted and ready to land.Feb 16 2021, 8:54 PM