aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorDimple Prajapati <dimpalben.r.prajapati@intel.com>2024-01-05 16:27:30 -0800
committerGitHub <noreply@github.com>2024-01-05 16:27:30 -0800
commit5e54319b7be3e8aa035836098e0a9defc0a41c3a (patch)
treeca47af155b5669c17712d04e1f9a7344de07f6db /clang/lib/CodeGen/CodeGenModule.cpp
parent651a42ff65c3afc2a2ec6c7fc19009387757d686 (diff)
downloadllvm-5e54319b7be3e8aa035836098e0a9defc0a41c3a.zip
llvm-5e54319b7be3e8aa035836098e0a9defc0a41c3a.tar.gz
llvm-5e54319b7be3e8aa035836098e0a9defc0a41c3a.tar.bz2
[mlir][spirv] Support spec constants as GlobalVar initializer (#75660)
Changes include: - spirv serialization and deserialization needs handling in cases when GlobalVariableOp initializer is defined using spirv SpecConstant or SpecConstantComposite op, currently even though it allows SpecConst, it only looked up in for GlobalVariable Map to find initializer symbol reference, change is fixing this and extending the support to SpecConstantComposite as an initializer. - Adds tests to make sure GlobalVariable can be initialized using specialized constants. --------- Co-authored-by: Lei Zhang <antiagainst@gmail.com>
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions