[mlir][spirv] Handle debuginfo for variables.
authorDenis Khalikov <khalikov.denis@huawei.com>
Fri, 8 May 2020 11:56:58 +0000 (14:56 +0300)
committerDenis Khalikov <khalikov.denis@huawei.com>
Fri, 8 May 2020 15:10:18 +0000 (18:10 +0300)
commitb5973d20b388ab7aa7590757177454e17fb2e59b
tree6ef71bfe9a7ec13d5349a35eb50a3f455878b4a4
parentd8d62e358e7a7d9c89cc1d93449ea6edfe26ea0e
[mlir][spirv] Handle debuginfo for variables.

Summary:
Handle debuginfo for spv.Variable and spv.globalVariable during
(de)serialization.

Differential Revision: https://reviews.llvm.org/D79566
mlir/lib/Dialect/SPIRV/Serialization/Deserializer.cpp
mlir/lib/Dialect/SPIRV/Serialization/Serializer.cpp
mlir/test/Dialect/SPIRV/Serialization/debug.mlir