aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/Module.cpp
diff options
context:
space:
mode:
authorLei Zhang <antiagainst@google.com>2020-12-23 14:37:52 -0500
committerLei Zhang <antiagainst@google.com>2020-12-23 14:45:46 -0500
commitae895ac4b9fa86b9471617357f66c0cd6cdb70b8 (patch)
tree5a1a68acd2fce8cf2a77e16a49fbb6ce0aebdafb /clang/lib/Basic/Module.cpp
parent897990e614c8d609b2f62dde4f82eb3e96f9f0be (diff)
downloadllvm-ae895ac4b9fa86b9471617357f66c0cd6cdb70b8.zip
llvm-ae895ac4b9fa86b9471617357f66c0cd6cdb70b8.tar.gz
llvm-ae895ac4b9fa86b9471617357f66c0cd6cdb70b8.tar.bz2
[mlir][spirv] De-template deserialization
Previously for each op we generate a separate deserialization method for it. Those deserialization methods duplicate the logic of parsing operands/results/attributes and such. This commit creates a generic method and let suitable op-specific deserialization method to call into it. wc -l SPIRVSerialization.inc: before 13290; after: 8304 (So -4986) Reviewed By: hanchung, ThomasRaoux Differential Revision: https://reviews.llvm.org/D93504
Diffstat (limited to 'clang/lib/Basic/Module.cpp')
0 files changed, 0 insertions, 0 deletions