Differential Revision: https://reviews.llvm.org/D80045
BuildMI requires this debug loc to be from the same sub program as the variable metadata passed in. Differential Revision: https://reviews.llvm.org/D80019
This pass changes debug_value instructions referring to stackified registers into TI_OPERAND_STACK with correct stack depth.