[mlir][spirv] Remove template functions for getting op's opcode
These template functions are used in the serializer, where we can actually directly query the opcode from the op's definition and use that in the auto-generated serialization logic. This removes a set of templates accounting for 319 lines from the auto-generated inc file. Differential Revision: https://reviews.llvm.org/D79444
Loading
Please sign in to comment