diff options
author | Michael Liao <michael.hliao@gmail.com> | 2023-12-19 21:44:24 -0500 |
---|---|---|
committer | Michael Liao <michael.hliao@gmail.com> | 2023-12-19 21:48:40 -0500 |
commit | e6a7175c6d72e8c50534cb5494d2d2542e011fe5 (patch) | |
tree | 33e782ef83b30243ebc1ad2ec43237db0401321d /llvm/lib/MC/MCExpr.cpp | |
parent | e5eef6e24f06dfffc77cffc6963e8543f9d223bd (diff) | |
download | llvm-e6a7175c6d72e8c50534cb5494d2d2542e011fe5.zip llvm-e6a7175c6d72e8c50534cb5494d2d2542e011fe5.tar.gz llvm-e6a7175c6d72e8c50534cb5494d2d2542e011fe5.tar.bz2 |
[SPIR-V] Avoid using zero value of target-specific types. NFC
- After #73887, spirv.Image cannot has a zeroinitializer, even though
it's only used in metadata to pass down the type info to the backend.
Instead of creating zeros, create undef ones of that target-specific
types.
Diffstat (limited to 'llvm/lib/MC/MCExpr.cpp')
0 files changed, 0 insertions, 0 deletions