This is an archive of the discontinued LLVM Phabricator instance.

[MLIR][SPIRV] Rename `spv._module_end` to `spv.mlir.endmodule`
ClosedPublic

Authored by ergawy on Nov 19 2020, 5:57 AM.

Details

Summary

This commit does the renaming mentioned in the title in order to bring
'spv' dialect closer to the MLIR naming conventions.

Diff Detail

Event Timeline

ergawy created this revision.Nov 19 2020, 5:57 AM
ergawy requested review of this revision.Nov 19 2020, 5:57 AM
antiagainst requested changes to this revision.Nov 19 2020, 6:59 AM

What about naming it as spv.mlir.endmodule so it's more akin to spv.mlir.addressof and others? :)

This revision now requires changes to proceed.Nov 19 2020, 6:59 AM
ergawy updated this revision to Diff 306419.Nov 19 2020, 8:07 AM
  • Rename to moduleend instead.
ergawy retitled this revision from [MLIR][SPIRV] Rename `spv._module_end` to `spv.mlir.module_end` to [MLIR][SPIRV] Rename `spv._module_end` to `spv.mlir.moduleend`.Nov 19 2020, 8:07 AM

What about naming it as spv.mlir.endmodule so it's more akin to spv.mlir.addressof and others? :)

I was a bit reluctant to do so tbh because of the 2 e's next to each other. But I guess this follows the convention closely. Done.

ergawy updated this revision to Diff 306435.Nov 19 2020, 9:08 AM

Rename to endmodule.

ergawy retitled this revision from [MLIR][SPIRV] Rename `spv._module_end` to `spv.mlir.moduleend` to [MLIR][SPIRV] Rename `spv._module_end` to `spv.mlir.endmodule`.Nov 19 2020, 9:09 AM
antiagainst accepted this revision.Nov 19 2020, 10:19 AM
This revision is now accepted and ready to land.Nov 19 2020, 10:19 AM