17 lines · plain
1# RUN: not llvm-mc -triple avr -mcpu=avrtiny %s 2>&1 \2# RUN: | FileCheck -check-prefix=AVRTINY %s3# RUN: not llvm-mc -triple avr -mcpu=avr2 %s 2>&1 \4# RUN: | FileCheck -check-prefix=AVR2 %s5 6# AVRTINY: error: invalid register on avrtiny7mov r0, r168 9# AVRTINY: error: invalid register on avrtiny10mov 1, r1611 12# AVR2: error: invalid operand for instruction13ldi r1, 1514 15# AVR2: error: instruction requires a CPU feature not currently enabled16lpm r8, Z+17