SuccessChanges

Summary

  1. [MLIR][SPIRV] Add (de-)serialization support for SpecConstantOpeation. (details)
  2. [NFC][AsmPrinter] Make comments for spill/reload more precise. (details)
Commit a40767ec8851b997e4dcc9987078bd02670f8c7f by kareem.ergawy
[MLIR][SPIRV] Add (de-)serialization support for SpecConstantOpeation.

This commit adds support for (de-)serializing SpecConstantOpeation. One
thing worth noting is that during deserialization, we assign a fake ID to
enclosed ops inside SpecConstantOpeation. We need to do this in order
for deserialization logic to properly update ID to value map and to
later reference the created value from the sibling 'spv::YieldOp'.

Reviewed By: antiagainst

Differential Revision: https://reviews.llvm.org/D93591
The file was modifiedmlir/lib/Target/SPIRV/Serialization.cpp
The file was modifiedmlir/test/Dialect/SPIRV/IR/structure-ops.mlir
The file was modifiedmlir/lib/Dialect/SPIRV/IR/SPIRVOps.cpp
The file was modifiedmlir/include/mlir/Dialect/SPIRV/IR/SPIRVBase.td
The file was modifiedmlir/lib/Target/SPIRV/Deserialization.cpp
The file was modifiedmlir/test/Target/SPIRV/spec-constant.mlir
Commit 5e476061deb82ed4e6d440445f8830e1c7bccaa6 by kai.wang
[NFC][AsmPrinter] Make comments for spill/reload more precise.

The size of spill/reload may be unknown for scalable vector types.
When the size is unknown, print it as "Unknown-size" instead of a very
large number.

Differential Revision: https://reviews.llvm.org/D94299
The file was modifiedllvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp