1 ; RUN: llc -march=avr -verify-machineinstrs < %s | FileCheck %s
3 define i8 @sign_extended_1_to_8(i1) {
4 ; CHECK-LABEL: sign_extended_1_to_8
10 define i16 @sign_extended_1_to_16(i1) {
11 ; CHECK-LABEL: sign_extended_1_to_16
13 %1 = sext i1 %0 to i16
17 define i16 @sign_extended_8_to_16(i8) {
18 ; CHECK-LABEL: sign_extended_8_to_16
20 %1 = sext i8 %0 to i16
24 define i32 @sign_extended_1_to_32(i1) {
25 ; CHECK-LABEL: sign_extended_1_to_32
27 %1 = sext i1 %0 to i32
31 define i32 @sign_extended_8_to_32(i8) {
32 ; CHECK-LABEL: sign_extended_8_to_32
34 %1 = sext i8 %0 to i32
38 define i32 @sign_extended_16_to_32(i16) {
39 ; CHECK-LABEL: sign_extended_16_to_32
41 %1 = sext i16 %0 to i32
45 define i64 @sign_extended_1_to_64(i1) {
46 ; CHECK-LABEL: sign_extended_1_to_64
48 %1 = sext i1 %0 to i64
52 define i64 @sign_extended_8_to_64(i8) {
53 ; CHECK-LABEL: sign_extended_8_to_64
55 %1 = sext i8 %0 to i64
59 define i64 @sign_extended_16_to_64(i16) {
60 ; CHECK-LABEL: sign_extended_16_to_64
62 %1 = sext i16 %0 to i64
66 define i64 @sign_extended_32_to_64(i32) {
67 ; CHECK-LABEL: sign_extended_32_to_64
69 %1 = sext i32 %0 to i64