[llvm] DXIL: Use correct type ID when writing ValueAsMetadata. (PR #94337)
Justin Bogner via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 6 12:32:49 PDT 2024
https://github.com/bogner commented:
Pointer values are a bit interesting because DXIL (and its usual source language, HLSL) don't generally expose pointers, so these code paths are probably not really reachable without fiddling with the IR we input to the DXIL backend. That said, I think it's reasonable to take the obvious fixes either way.
It would be better if this came with a test. Can you come up with something sensible or do you need someone (like me) with access to dxil-dis to take a stab at that?
https://github.com/llvm/llvm-project/pull/94337
More information about the llvm-commits
mailing list