[all-commits] [llvm/llvm-project] e6a717: [SPIR-V] Avoid using zero value of target-specific...
darkbuck via All-commits
all-commits at lists.llvm.org
Tue Dec 19 18:49:38 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e6a7175c6d72e8c50534cb5494d2d2542e011fe5
https://github.com/llvm/llvm-project/commit/e6a7175c6d72e8c50534cb5494d2d2542e011fe5
Author: Michael Liao <michael.hliao at gmail.com>
Date: 2023-12-19 (Tue, 19 Dec 2023)
Changed paths:
M llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.cpp
Log Message:
-----------
[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.
More information about the All-commits
mailing list