1 ; RUN: llc < %s -march=avr | FileCheck %s
3 define i8 @or8_reg_reg(i8 %a, i8 %b) {
4 ; CHECK-LABEL: or8_reg_reg:
10 define i8 @or8_reg_imm(i8 %a) {
11 ; CHECK-LABEL: or8_reg_imm:
17 define i16 @or16_reg_reg(i16 %a, i16 %b) {
18 ; CHECK-LABEL: or16_reg_reg:
21 %result = or i16 %a, %b
25 define i16 @or16_reg_imm(i16 %a) {
26 ; CHECK-LABEL: or16_reg_imm:
29 %result = or i16 %a, 1234
33 define i32 @or32_reg_reg(i32 %a, i32 %b) {
34 ; CHECK-LABEL: or32_reg_reg:
39 %result = or i32 %a, %b
43 define i32 @or32_reg_imm(i32 %a) {
44 ; CHECK-LABEL: or32_reg_imm:
49 %result = or i32 %a, 123456789
53 define i64 @or64_reg_reg(i64 %a, i64 %b) {
54 ; CHECK-LABEL: or64_reg_reg:
63 %result = or i64 %a, %b
67 define i64 @or64_reg_imm(i64 %a) {
68 ; CHECK-LABEL: or64_reg_imm:
77 %result = or i64 %a, 14757395258967641292