1; RUN: llc < %s -march=avr | FileCheck %s 2 3; zext R25:R24, R24 4; eor R25, R25 5define i16 @zext1(i8 %x) { 6; CHECK-LABEL: zext1: 7; CHECK: clr r25 8 %1 = zext i8 %x to i16 9 ret i16 %1 10} 11 12; zext R25:R24, R20 13; mov R24, R20 14; clr R25 15define i16 @zext2(i8 %x, i8 %y) { 16; CHECK-LABEL: zext2: 17; CHECK: mov r24, r22 18; CHECK: clr r25 19 %1 = zext i8 %y to i16 20 ret i16 %1 21} 22 23; zext R25:R24, R24 24; clr R25 25define i16 @zext_i1(i1 %x) { 26; CHECK-LABEL: zext_i1: 27; CHECK: andi r25, 0 28 %1 = zext i1 %x to i16 29 ret i16 %1 30} 31 32