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