[all-commits] [llvm/llvm-project] 7b61b1: [MLIR][SPIRV] Create new ctx for deserialization i...
Kareem Ergawy via All-commits
all-commits at lists.llvm.org
Fri Sep 18 08:54:16 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 7b61b192753360427fade9c9c5b68cd76adfc665
https://github.com/llvm/llvm-project/commit/7b61b192753360427fade9c9c5b68cd76adfc665
Author: ergawy <kareem.ergawy at gmail.com>
Date: 2020-09-18 (Fri, 18 Sep 2020)
Changed paths:
M mlir/lib/Dialect/SPIRV/Serialization/TranslateRegistration.cpp
Log Message:
-----------
[MLIR][SPIRV] Create new ctx for deserialization in roundtrips.
Roundtripping SPIR-V modules used the same MLIRContext object for both
ways of the trip. This resulted in deserialization using a context
object already containing Types constructed during serialization.
This commit rectifies that by creating a new MLIRContext during
deserialization.
Reviewed By: mravishankar, antiagainst
Differential Revision: https://reviews.llvm.org/D87692
More information about the All-commits
mailing list