aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineScheduler.cpp
diff options
context:
space:
mode:
authorergawy <kareem.ergawy@gmail.com>2020-09-18 11:47:37 -0400
committerLei Zhang <antiagainst@google.com>2020-09-18 11:53:51 -0400
commit7b61b192753360427fade9c9c5b68cd76adfc665 (patch)
tree6eed3bca4a0c667bb3ca4beb329c6b757fc5f9cc /llvm/lib/CodeGen/MachineScheduler.cpp
parent88a1d402d6c60aa182b9d83d39c9e3ab46a830c0 (diff)
downloadllvm-7b61b192753360427fade9c9c5b68cd76adfc665.zip
llvm-7b61b192753360427fade9c9c5b68cd76adfc665.tar.gz
llvm-7b61b192753360427fade9c9c5b68cd76adfc665.tar.bz2
[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
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions