Add SymbolTable trait to spirv::ModuleOp.
authorMahesh Ravishankar <ravishankarm@google.com>
Thu, 8 Aug 2019 21:18:39 +0000 (14:18 -0700)
committerA. Unique TensorFlower <gardener@tensorflow.org>
Thu, 8 Aug 2019 21:20:05 +0000 (14:20 -0700)
commitb448266a09240fff77da07986a2e37c549cc2d91
treeb25d1cba38b30206179e0f4a9e233d72b989a3e9
parent466b9f100c1ded56c1230fc780f78f90973b6a1c
Add SymbolTable trait to spirv::ModuleOp.

Adding the SymbolTable trait allows looking up the name of the
functions using the symbol table while verifying EntryPointOps instead
of manually tracking the function names.

PiperOrigin-RevId: 262431220
mlir/include/mlir/Dialect/SPIRV/SPIRVStructureOps.td
mlir/lib/Dialect/SPIRV/SPIRVOps.cpp