[all-commits] [llvm/llvm-project] 792786: [CSInfo][MIPS] Don't describe parameters loaded by...

Djordje Todorovic via All-commits all-commits at lists.llvm.org
Mon Jun 22 01:49:35 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 792786e34d8d881eb4d6b12275681a555cb9e245
      https://github.com/llvm/llvm-project/commit/792786e34d8d881eb4d6b12275681a555cb9e245
  Author: Djordje Todorovic <djordje.todorovic at syrmia.com>
  Date:   2020-06-22 (Mon, 22 Jun 2020)

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

  Log Message:
  -----------
  [CSInfo][MIPS] Don't describe parameters loaded by sub/super reg copy

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".

Patch by Nikola Tesic

Differential revision: https://reviews.llvm.org/D82000




More information about the All-commits mailing list