Debug intrinsics sometimes end up with empty metadata location operands. The debug intrinsic interfaces return nullptr when retrieving location operand in this case.
When assignment tracking is not enabled a dbg.declare with a nullptr location operand is skipped. Do the same when assignment tracking is enabled (a nullptr address component of a dbg.assign is already handled correctly.
N.B. my "empty metadata is the same as poison" patch stack (D140902) hasn't landed yet as I'm focussing on assignment tracking for now.