This is an archive of the discontinued LLVM Phabricator instance.

[mlir][Linalg] NFC - Make markers use Identifier instead of StringRef
ClosedPublic

Authored by nicolasvasilache on Jun 2 2020, 12:51 PM.

Details

Summary

This removes string ownership worries by putting everything into the context and allows more constructing identifiers programmatically.

Diff Detail

Event Timeline

Herald added a project: Restricted Project. · View Herald TranscriptJun 2 2020, 12:51 PM
ftynse accepted this revision.Jun 2 2020, 1:03 PM

Have you considered constructing identifiers in the constructor of Linalg dialect and just using them? That's what we do for llvm types.

This revision is now accepted and ready to land.Jun 2 2020, 1:03 PM

Not really but the use case I have for this is constructing strings dynamically.

nicolasvasilache retitled this revision from [mlir][Linalg] NFC - Make markers use Indentifier instead of StringRef to [mlir][Linalg] NFC - Make markers use Identifier instead of StringRef.Jun 2 2020, 3:15 PM
This revision was automatically updated to reflect the committed changes.