aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/XCOFFObjectFile.cpp
diff options
context:
space:
mode:
authorergawy <kareem.ergawy@gmail.com>2020-11-19 10:05:55 -0500
committerLei Zhang <antiagainst@google.com>2020-11-19 10:06:04 -0500
commit341f3c1120dfa8879e5f714a07fc8b16c8887a7f (patch)
tree41f038a9a5d6d7ab3fb108477a9eda3f36811c90 /llvm/lib/Object/XCOFFObjectFile.cpp
parent9bd50abc4ca150d5dfb89bf40de26549e4ec31e5 (diff)
downloadllvm-341f3c1120dfa8879e5f714a07fc8b16c8887a7f.zip
llvm-341f3c1120dfa8879e5f714a07fc8b16c8887a7f.tar.gz
llvm-341f3c1120dfa8879e5f714a07fc8b16c8887a7f.tar.bz2
[MLIR][SPIRV] ModuleCombiner: deduplicate global vars, spec consts, and funcs.
This commit extends the functionality of the SPIR-V module combiner library by adding new deduplication capabilities. In particular, implementation of deduplication of global variables and specialization constants, and functions is introduced. For global variables, 2 variables are considered duplicate if they either have the same descriptor set + binding or the same built_in attribute. For specialization constants, 2 spec constants are considered duplicate if they have the same spec_id attribute. 2 functions are deduplicated if they are identical. 2 functions are identical if they have the same prototype, attributes, and body. Reviewed By: antiagainst Differential Revision: https://reviews.llvm.org/D90951
Diffstat (limited to 'llvm/lib/Object/XCOFFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions