jmorse wrote: Hi -- using a recent opt (built from 1ebfc81a9119) the test case already produces a #dbg_value with "poison" operand, which suggests this patch isn't having any effect. Perhaps it was recently fixed somewhere else? https://github.com/llvm/llvm-project/pull/100654