1 ; RUN: not llc < %s -mtriple=avr -no-integrated-as 2>&1 | FileCheck %s
2 ; RUN: not llc < %s -mtriple=avr -mcpu=avr6 -filetype=obj 2>&1 \
3 ; RUN: FileCheck %s --check-prefix=AVR6
5 define void @foo(i16 %a) {
6 ; CHECK: error: invalid operand in inline asm: 'jl ${0:l}'
7 %i.addr = alloca i32, align 4
8 call void asm sideeffect "jl ${0:l}", "*m"(ptr elementtype(i32) %i.addr)
14 ; CHECK: error: invalid operand in inline asm: ';; ${0:C}'
15 call i16 asm sideeffect ";; ${0:C}", "=d"()
20 ; AVR6: error: expected either Y or Z register
21 call void asm sideeffect "ldd r24, X+2", ""()