[llvm] [SPIR-V] Emit OpConstant instead of OpConstantNull to conform to NonSemantic.Shader.DebugInfo.100 DebugTypeBasic's flags definition (PR #118333)

Nathan Gauër via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 3 02:51:02 PST 2024


Keenuts wrote:

> Thank you, I also think that this should be fixed on spirv-val side. However, until it is fixed we should either proceed with this PR or add XFAIL to the test case.

If it's just until we fix upstream, I'd be in favor of an XFAIL.

> Also, as a side note, I guess we will anyway need to figure out OpConstant vs. OpConstantNull in debug-info to account for environments without null constants (HLSL).

What do you mean by that?



https://github.com/llvm/llvm-project/pull/118333


More information about the llvm-commits mailing list