%noreg in DBG_VALUE

I have a question regarding the DBG_VALUE instruction.

IIUC the DBG_VALUE appears in two different forms:

1. DBG_VALUE( %Reg, %Reg, metadata)
2. DBG_VALUE(%Reg, offset, metadata)

In the first version, the second operand is always a %noreg in the form of:
DBG_VALUE(%Reg, %noreg, metadata).

Is it possible to have a different version of DBG_VALUE that only has 2
operands which will have only %Reg and metadata, because the second operand
appears to be redundant?


Possible, but it simplifies the code to only have one representation for
the schema rather than two.