[llvm] [DirectX] Add an "offset" operand to llvm.dbg.value (PR #197478)
Harald van Dijk via llvm-commits
llvm-commits at lists.llvm.org
Thu May 21 11:54:17 PDT 2026
hvdijk wrote:
That's possible, but late changes when emitting DXIL is what I've been trying to avoid. Firstly it's error-prone, as when `DXILValueEnumerator` and `DXILBitcodeWriter` are not kept exactly in sync wrt the order in which they enumerate, things almost work, things work well enough to pass simple tests, and then on real code it starts to fail in ways that we're unable to detect, that we're unable to add assertions for. Secondly it's only possible to add tests for that with `dxil-dis`, which is not available by default even when the `DirectX` target is enabled. This way allows for a non-`dxil-dis` to be added after #198318.
https://github.com/llvm/llvm-project/pull/197478
More information about the llvm-commits
mailing list