[PATCH] D138582: [AVR] Do not use R0/R1 on avrtiny
Ben Shi via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 25 00:45:35 PST 2022
benshi001 added inline comments.
================
Comment at: llvm/test/CodeGen/AVR/features/avr-tiny.ll:60
+; CHECK: ; %bb.0:
+; CHECK-NEXT: push r16
+; CHECK-NEXT: in r16, 63
----------------
I do see r17 is pushed/poped by avr-gcc in this case.
```
// avr-gcc test.c -O3 -Wall -mmcu=attiny10
#include <avr/interrupt.h>
void foo(void);
ISR(BADISR_vect)
{
foo();
}
```
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D138582/new/
https://reviews.llvm.org/D138582
More information about the llvm-commits
mailing list