This is an archive of the discontinued LLVM Phabricator instance.

[MLIR][SPIRV] Use getAsmResultName(...) hook for AddressOfOp.
ClosedPublic

Authored by ergawy on Jun 3 2021, 1:02 AM.

Details

Summary

Implements better naming for results of spv.mlir.addressof ops by making it
inherit from OpAsmOpInterface and implementing the associated
getAsmResultName(...) hook.

Diff Detail

Event Timeline

ergawy created this revision.Jun 3 2021, 1:02 AM
ergawy requested review of this revision.Jun 3 2021, 1:03 AM
antiagainst accepted this revision.Jun 4 2021, 8:03 AM
This revision is now accepted and ready to land.Jun 4 2021, 8:03 AM