[PATCH] D82000: [CSInfo][MIPS] Don't describe parameters loaded by sub- or super- register copy

Nikola Tesic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 17 03:44:46 PDT 2020


ntesic created this revision.
ntesic added reviewers: vsk, aprantl, dstenb, djtodoro.
ntesic added a project: debug-info.
Herald added subscribers: llvm-commits, ormris, atanasyan, hiraditya, arichardson, sdardis.
Herald added a project: LLVM.

When describing parameter value loaded by a COPY instruction, consider case
where needed Reg value is a sub- or super- register of the COPY instruction's
destination register. Without this patch, compile process will crash with
the assertion "TargetInstrInfo::describeLoadedValue can't describe super- or
sub-regs for copy instructions".


https://reviews.llvm.org/D82000

Files:
  llvm/lib/Target/Mips/MipsInstrInfo.cpp
  llvm/test/DebugInfo/MIR/Mips/dbg-call-site-copy-sub-reg.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82000.271318.patch
Type: text/x-patch
Size: 6324 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200617/b777372e/attachment.bin>


More information about the llvm-commits mailing list