[PATCH] D131867: [AVR] Do not emit instructions invalid for attiny10

Ayke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 15 05:53:11 PDT 2022


aykevl added a comment.

In D131867#3722606 <https://reviews.llvm.org/D131867#3722606>, @benshi001 wrote:

> 2. Simplify the commit message to
>
>   The attiny4/attiny5/attiny9/attiny10 have a slightly modified instruction set that drops a number of useful instructions. This patch makes sure to not emit them on these "reduced tiny" cores.
>   
>   The affected instructions are:
>   
>   lds and sts (load/store directly from data)
>   ldd and std (load/store with displacement)
>   adiw and sbiw (add/sub register pairs)

Why? I think the extra information in the commit message is helpful.

I will apply the other suggestions when I commit.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D131867/new/

https://reviews.llvm.org/D131867



More information about the llvm-commits mailing list