llvm-project/llvm/test/CodeGen/AVR/pseudo
Ayke van Laethem 5527b21516
[AVR] Do not use R0/R1 on avrtiny
This patch makes sure the compiler uses R16/R17 on avrtiny (attiny10
etc) instead of R0/R1.

Some notes:

  * For the NEGW and ROLB instructions, it adds an explicit zero
    register. This is necessary because the zero register is different
    on avrtiny (and InstrInfo Uses lines need a fixed register).
  * Not entirely sure about putting all tests in features/avr-tiny.ll,
    but it doesn't seem like the "target-cpu"="attiny10" attribute
    works.

Updates: https://github.com/llvm/llvm-project/issues/53459

Differential Revision: https://reviews.llvm.org/D138582
2022-11-28 18:05:55 +01:00
..
ADCWRdRr.mir
ADDWRdRr.mir
ANDIWRdK.mir
ANDWRdRr.mir
ASRBNRd.mir
ASRWNRd.mir
ASRWRd.mir
COMWRd.mir
COPY.mir [AVR] Fix expanding MOVW for overlapping registers 2022-06-26 17:20:07 +08:00
CPCWRdRr.mir
CPWRdRr.mir
ELPMWRdZ.mir [AVR] Remove unused register scavenger 2022-11-27 15:31:12 +01:00
EORWRdRr.mir
FRMIDX.mir
INWRdA.mir
LDDWRdPtrQ.mir
LDDWRdYQ.mir
LDIWRdK.mir
LDSWRdK.mir
LDWRdPtr.mir
LDWRdPtrPd.mir
LDWRdPtrPi.mir
LSLBNRd.mir
LSLWNRd.mir
LSLWRd.mir
LSRBNRd.mir
LSRWNRd.mir
LSRWRd.mir
NEGWRd.mir [AVR] Do not use R0/R1 on avrtiny 2022-11-28 18:05:55 +01:00
ORIWRdK.mir
ORWRdRr.mir
OUTWARr.mir
POPWRd.mir
PUSHWRr.mir
ROLBrd.mir [AVR] Do not use R0/R1 on avrtiny 2022-11-28 18:05:55 +01:00
SBCIWRdK.mir
SBCWRdRr.mir
SEXT.mir
STDWPtrQRr.mir [AVR] Merge AVRRelaxMemOperations into AVRExpandPseudoInsts 2022-04-11 02:42:13 +00:00
STSWKRr.mir
STWPtrPdRr.mir
STWPtrPiRr.mir
STWPtrRr.mir
SUBIWRdK.mir
SUBWRdRr.mir
ZEXT.mir