[mlir][SPIRV] Rename OpSpecConstantOperation -> OpSpecConstantOp
authorMaheshRavishankar <ravishankarm@google.com>
Wed, 20 Jan 2021 22:46:36 +0000 (14:46 -0800)
committerMaheshRavishankar <ravishankarm@google.com>
Thu, 21 Jan 2021 15:56:43 +0000 (07:56 -0800)
commit4234292ecf4902ad53286652acc3969c6758fed0
tree72ad9b8ea42b19af815add93ca707457a2db185e
parentc0b3c5a06451aad4351e35c74ccf2fe5da917a41
[mlir][SPIRV] Rename OpSpecConstantOperation -> OpSpecConstantOp

The SPIR-V spec uses OpSpecConstantOp. Using an inconsistent name
makes the dialect generation scripts fail. Update to use the right
operation name, and fix the auto generation scripts as well.

Differential Revision: https://reviews.llvm.org/D95097
mlir/include/mlir/Dialect/SPIRV/IR/SPIRVBase.td
mlir/lib/Target/SPIRV/Deserialization/DeserializeOps.cpp
mlir/lib/Target/SPIRV/Deserialization/Deserializer.h
mlir/lib/Target/SPIRV/Serialization/Serialization.cpp
mlir/utils/spirv/define_opcodes.sh