[all-commits] [llvm/llvm-project] d1af60: [AVR] Don't assert on an undefined operand

Ayke via All-commits all-commits at lists.llvm.org
Mon Feb 24 10:23:43 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: d1af6011e56b3d9fb94596d801f46b4c0a371c7a
      https://github.com/llvm/llvm-project/commit/d1af6011e56b3d9fb94596d801f46b4c0a371c7a
  Author: Ayke van Laethem <aykevanlaethem at gmail.com>
  Date:   2020-02-24 (Mon, 24 Feb 2020)

  Changed paths:
    M llvm/lib/Target/AVR/MCTargetDesc/AVRInstPrinter.cpp

  Log Message:
  -----------
  [AVR] Don't assert on an undefined operand

Not all operands are correctly disassembled at the moment. This means
that some machine instructions won't have all the necessary operands
set.
To avoid asserting, print an error instead until the necessary support
has been implemented.

Differential Revision: https://reviews.llvm.org/D73958




More information about the All-commits mailing list