32 lines · plain
1; RUN: llc < %s -mtriple=avr | FileCheck %s2 3; zext R25:R24, R244; eor R25, R255define i16 @zext1(i8 %x) {6; CHECK-LABEL: zext1:7; CHECK: clr r258 %1 = zext i8 %x to i169 ret i16 %110}11 12; zext R25:R24, R2013; mov R24, R2014; clr R2515define i16 @zext2(i8 %x, i8 %y) {16; CHECK-LABEL: zext2:17; CHECK: mov r24, r2218; CHECK: clr r2519 %1 = zext i8 %y to i1620 ret i16 %121}22 23; zext R25:R24, R2424; clr R2525define i16 @zext_i1(i1 %x) {26; CHECK-LABEL: zext_i1:27; CHECK: andi r25, 028 %1 = zext i1 %x to i1629 ret i16 %130}31 32