Build SymbolTable upfront in ModuleOp verification.
authorMahesh Ravishankar <ravishankarm@google.com>
Thu, 8 Aug 2019 21:40:03 +0000 (14:40 -0700)
committerA. Unique TensorFlower <gardener@tensorflow.org>
Thu, 8 Aug 2019 21:40:46 +0000 (14:40 -0700)
commitf525a497eabad6686645a9f7dd8d58875545c7a5
tree7787b59175a844437430dbb93bc1f2afc47b4fef
parentb448266a09240fff77da07986a2e37c549cc2d91
Build SymbolTable upfront in ModuleOp verification.

Building the symbol table upfront from module op allows for O(1)
lookup of the function while verifying duplicate EntryPointOp within
the module.

PiperOrigin-RevId: 262435697
mlir/lib/Dialect/SPIRV/SPIRVOps.cpp