[MLIR][SPIRV] Rename `spv.undef` to `spv.Undef`.
authorKareemErgawy-TomTom <kareem.ergawy@gmail.com>
Fri, 5 Mar 2021 20:45:09 +0000 (15:45 -0500)
committerLei Zhang <antiagainst@google.com>
Fri, 5 Mar 2021 20:49:44 +0000 (15:49 -0500)
commitd48ceb45e3026e2c40f0756cebbcb87d38e89c0e
tree0d6ca15d7084f707ad8bda72740742ec277239f8
parentf175ba4a54d3dccfb691138c0c47ca862f03c7db
[MLIR][SPIRV] Rename `spv.undef` to `spv.Undef`.

To unify the naming scheme across all ops in the SPIR-V dialect, we are
moving from spv.camelCase to spv.CamelCase everywhere. For ops that
don't have a SPIR-V spec counterpart, we use spv.mlir.snake_case.

Reviewed By: antiagainst

Differential Revision: https://reviews.llvm.org/D98016
mlir/include/mlir/Dialect/SPIRV/IR/SPIRVMiscOps.td
mlir/include/mlir/Dialect/SPIRV/IR/SPIRVStructureOps.td
mlir/test/Conversion/SPIRVToLLVM/misc-ops-to-llvm.mlir
mlir/test/Dialect/SPIRV/IR/misc-ops.mlir
mlir/test/Dialect/SPIRV/Transforms/rewrite-inserts.mlir
mlir/test/Target/SPIRV/undef.mlir