Unverified Commit 5e54319b authored by Dimple Prajapati's avatar Dimple Prajapati Committed by GitHub
Browse files

[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: default avatarLei Zhang <antiagainst@gmail.com>
parent 651a42ff
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment