[CSInfo][MIPS] Describe parameter value loaded by ADDiu
authorDjordje Todorovic <djordje.todorovic@syrmia.com>
Thu, 4 Jun 2020 09:59:04 +0000 (11:59 +0200)
committerDjordje Todorovic <djordje.todorovic@syrmia.com>
Thu, 4 Jun 2020 10:39:56 +0000 (12:39 +0200)
commit7fbbc82057c975777305fc9b8ef8c2bc729b3daf
treef81464b9c179c3d570fcb1ac07b8baf3685238f8
parenta7c6bec228ca28e9eee77433292ac86d77b67790
[CSInfo][MIPS] Describe parameter value loaded by ADDiu

Describe parameter's value loaded by MIPS ADDiu instruction.
When parameter's value is loaded into a register by mips ADDiu/DADDiu
instruction, it could be described correctly and emitted as
DW_AT_GNU_call_site_value.

Patch by Nikola Tesic

Differential revision: https://reviews.llvm.org/D78108
llvm/lib/Target/Mips/MipsInstrInfo.cpp
llvm/lib/Target/Mips/MipsInstrInfo.h
llvm/test/DebugInfo/MIR/Mips/dbg-call-site-param-addiu-64bit.mir [new file with mode: 0644]
llvm/test/DebugInfo/MIR/Mips/dbg-call-site-param-addiu.mir [new file with mode: 0644]