[all-commits] [llvm/llvm-project] 6e57f6: [AVR] Reject invalid LDD instruction with explicit...

Ben Shi via All-commits all-commits at lists.llvm.org
Sun Apr 9 19:35:04 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6e57f68e41c92936b9ef3a4e6fb286e8805a9fbc
      https://github.com/llvm/llvm-project/commit/6e57f68e41c92936b9ef3a4e6fb286e8805a9fbc
  Author: Ben Shi <powerman1st at 163.com>
  Date:   2023-04-10 (Mon, 10 Apr 2023)

  Changed paths:
    M llvm/lib/Target/AVR/MCTargetDesc/AVRMCCodeEmitter.cpp
    M llvm/test/CodeGen/AVR/inline-asm/inline-asm-invalid.ll

  Log Message:
  -----------
  [AVR] Reject invalid LDD instruction with explicit error

We should reject "ldd Rn, X" with explicit error message
rather than "llvm_unreachable" in llvm's release build.

Fixes https://github.com/llvm/llvm-project/issues/62012

Reviewed By: Miss_Grape

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




More information about the All-commits mailing list