[llvm-dev] Can DBG_VALUE instructions use undefined vregs?

Amara Emerson via llvm-dev llvm-dev at lists.llvm.org
Tue Oct 5 15:29:05 PDT 2021

One GlobalISel compile time optimization patch (https://reviews.llvm.org/D109750 <https://reviews.llvm.org/D109750>) has generated some debate over whether it’s semantically allowed/not-an-error for a DBG_VALUE machine instruction to have a use of a vreg that doesn’t have a corresponding definition.

We talked internally with Adrian and Vedant and didn’t come to a strong conclusion either way. Does anyone have thoughts here?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20211005/6b037184/attachment.html>

More information about the llvm-dev mailing list