; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py ; RUN: llc < %s -verify-machineinstrs -mtriple=aarch64-none-linux-gnu -mattr=+neon | FileCheck %s define <8 x i8> @and8xi8(<8 x i8> %a, <8 x i8> %b) { ; CHECK-LABEL: and8xi8: ; CHECK: // %bb.0: ; CHECK-NEXT: and v0.8b, v0.8b, v1.8b ; CHECK-NEXT: ret %tmp1 = and <8 x i8> %a, %b; ret <8 x i8> %tmp1 } define <16 x i8> @and16xi8(<16 x i8> %a, <16 x i8> %b) { ; CHECK-LABEL: and16xi8: ; CHECK: // %bb.0: ; CHECK-NEXT: and v0.16b, v0.16b, v1.16b ; CHECK-NEXT: ret %tmp1 = and <16 x i8> %a, %b; ret <16 x i8> %tmp1 } define <8 x i8> @orr8xi8(<8 x i8> %a, <8 x i8> %b) { ; CHECK-LABEL: orr8xi8: ; CHECK: // %bb.0: ; CHECK-NEXT: orr v0.8b, v0.8b, v1.8b ; CHECK-NEXT: ret %tmp1 = or <8 x i8> %a, %b; ret <8 x i8> %tmp1 } define <16 x i8> @orr16xi8(<16 x i8> %a, <16 x i8> %b) { ; CHECK-LABEL: orr16xi8: ; CHECK: // %bb.0: ; CHECK-NEXT: orr v0.16b, v0.16b, v1.16b ; CHECK-NEXT: ret %tmp1 = or <16 x i8> %a, %b; ret <16 x i8> %tmp1 } define <8 x i8> @xor8xi8(<8 x i8> %a, <8 x i8> %b) { ; CHECK-LABEL: xor8xi8: ; CHECK: // %bb.0: ; CHECK-NEXT: eor v0.8b, v0.8b, v1.8b ; CHECK-NEXT: ret %tmp1 = xor <8 x i8> %a, %b; ret <8 x i8> %tmp1 } define <16 x i8> @xor16xi8(<16 x i8> %a, <16 x i8> %b) { ; CHECK-LABEL: xor16xi8: ; CHECK: // %bb.0: ; CHECK-NEXT: eor v0.16b, v0.16b, v1.16b ; CHECK-NEXT: ret %tmp1 = xor <16 x i8> %a, %b; ret <16 x i8> %tmp1 } define <8 x i8> @bsl8xi8_const(<8 x i8> %a, <8 x i8> %b) { ; CHECK-LABEL: bsl8xi8_const: ; CHECK: // %bb.0: ; CHECK-NEXT: movi d2, #0x00ffff0000ffff ; CHECK-NEXT: bif v0.8b, v1.8b, v2.8b ; CHECK-NEXT: ret %tmp1 = and <8 x i8> %a, < i8 -1, i8 -1, i8 0, i8 0, i8 -1, i8 -1, i8 0, i8 0 > %tmp2 = and <8 x i8> %b, < i8 0, i8 0, i8 -1, i8 -1, i8 0, i8 0, i8 -1, i8 -1 > %tmp3 = or <8 x i8> %tmp1, %tmp2 ret <8 x i8> %tmp3 } define <16 x i8> @bsl16xi8_const(<16 x i8> %a, <16 x i8> %b) { ; CHECK-LABEL: bsl16xi8_const: ; CHECK: // %bb.0: ; CHECK-NEXT: movi v2.2d, #0x000000ffffffff ; CHECK-NEXT: bif v0.16b, v1.16b, v2.16b ; CHECK-NEXT: ret %tmp1 = and <16 x i8> %a, < i8 -1, i8 -1, i8 -1, i8 -1, i8 0, i8 0, i8 0, i8 0, i8 -1, i8 -1, i8 -1, i8 -1, i8 0, i8 0, i8 0, i8 0 > %tmp2 = and <16 x i8> %b, < i8 0, i8 0, i8 0, i8 0, i8 -1, i8 -1, i8 -1, i8 -1, i8 0, i8 0, i8 0, i8 0, i8 -1, i8 -1, i8 -1, i8 -1 > %tmp3 = or <16 x i8> %tmp1, %tmp2 ret <16 x i8> %tmp3 } define <8 x i8> @orn8xi8(<8 x i8> %a, <8 x i8> %b) { ; CHECK-LABEL: orn8xi8: ; CHECK: // %bb.0: ; CHECK-NEXT: orn v0.8b, v0.8b, v1.8b ; CHECK-NEXT: ret %tmp1 = xor <8 x i8> %b, < i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1 > %tmp2 = or <8 x i8> %a, %tmp1 ret <8 x i8> %tmp2 } define <16 x i8> @orn16xi8(<16 x i8> %a, <16 x i8> %b) { ; CHECK-LABEL: orn16xi8: ; CHECK: // %bb.0: ; CHECK-NEXT: orn v0.16b, v0.16b, v1.16b ; CHECK-NEXT: ret %tmp1 = xor <16 x i8> %b, < i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1 > %tmp2 = or <16 x i8> %a, %tmp1 ret <16 x i8> %tmp2 } define <8 x i8> @bic8xi8(<8 x i8> %a, <8 x i8> %b) { ; CHECK-LABEL: bic8xi8: ; CHECK: // %bb.0: ; CHECK-NEXT: bic v0.8b, v0.8b, v1.8b ; CHECK-NEXT: ret %tmp1 = xor <8 x i8> %b, < i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1 > %tmp2 = and <8 x i8> %a, %tmp1 ret <8 x i8> %tmp2 } define <16 x i8> @bic16xi8(<16 x i8> %a, <16 x i8> %b) { ; CHECK-LABEL: bic16xi8: ; CHECK: // %bb.0: ; CHECK-NEXT: bic v0.16b, v0.16b, v1.16b ; CHECK-NEXT: ret %tmp1 = xor <16 x i8> %b, < i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1, i8 -1 > %tmp2 = and <16 x i8> %a, %tmp1 ret <16 x i8> %tmp2 } define <2 x i32> @orrimm2s_lsl0(<2 x i32> %a) { ; CHECK-LABEL: orrimm2s_lsl0: ; CHECK: // %bb.0: ; CHECK-NEXT: orr v0.2s, #255 ; CHECK-NEXT: ret %tmp1 = or <2 x i32> %a, < i32 255, i32 255> ret <2 x i32> %tmp1 } define <2 x i32> @orrimm2s_lsl8(<2 x i32> %a) { ; CHECK-LABEL: orrimm2s_lsl8: ; CHECK: // %bb.0: ; CHECK-NEXT: orr v0.2s, #255, lsl #8 ; CHECK-NEXT: ret %tmp1 = or <2 x i32> %a, < i32 65280, i32 65280> ret <2 x i32> %tmp1 } define <2 x i32> @orrimm2s_lsl16(<2 x i32> %a) { ; CHECK-LABEL: orrimm2s_lsl16: ; CHECK: // %bb.0: ; CHECK-NEXT: orr v0.2s, #255, lsl #16 ; CHECK-NEXT: ret %tmp1 = or <2 x i32> %a, < i32 16711680, i32 16711680> ret <2 x i32> %tmp1 } define <2 x i32> @orrimm2s_lsl24(<2 x i32> %a) { ; CHECK-LABEL: orrimm2s_lsl24: ; CHECK: // %bb.0: ; CHECK-NEXT: orr v0.2s, #255, lsl #24 ; CHECK-NEXT: ret %tmp1 = or <2 x i32> %a, < i32 4278190080, i32 4278190080> ret <2 x i32> %tmp1 } define <4 x i32> @orrimm4s_lsl0(<4 x i32> %a) { ; CHECK-LABEL: orrimm4s_lsl0: ; CHECK: // %bb.0: ; CHECK-NEXT: orr v0.4s, #255 ; CHECK-NEXT: ret %tmp1 = or <4 x i32> %a, < i32 255, i32 255, i32 255, i32 255> ret <4 x i32> %tmp1 } define <4 x i32> @orrimm4s_lsl8(<4 x i32> %a) { ; CHECK-LABEL: orrimm4s_lsl8: ; CHECK: // %bb.0: ; CHECK-NEXT: orr v0.4s, #255, lsl #8 ; CHECK-NEXT: ret %tmp1 = or <4 x i32> %a, < i32 65280, i32 65280, i32 65280, i32 65280> ret <4 x i32> %tmp1 } define <4 x i32> @orrimm4s_lsl16(<4 x i32> %a) { ; CHECK-LABEL: orrimm4s_lsl16: ; CHECK: // %bb.0: ; CHECK-NEXT: orr v0.4s, #255, lsl #16 ; CHECK-NEXT: ret %tmp1 = or <4 x i32> %a, < i32 16711680, i32 16711680, i32 16711680, i32 16711680> ret <4 x i32> %tmp1 } define <4 x i32> @orrimm4s_lsl24(<4 x i32> %a) { ; CHECK-LABEL: orrimm4s_lsl24: ; CHECK: // %bb.0: ; CHECK-NEXT: orr v0.4s, #255, lsl #24 ; CHECK-NEXT: ret %tmp1 = or <4 x i32> %a, < i32 4278190080, i32 4278190080, i32 4278190080, i32 4278190080> ret <4 x i32> %tmp1 } define <4 x i16> @orrimm4h_lsl0(<4 x i16> %a) { ; CHECK-LABEL: orrimm4h_lsl0: ; CHECK: // %bb.0: ; CHECK-NEXT: orr v0.4h, #255 ; CHECK-NEXT: ret %tmp1 = or <4 x i16> %a, < i16 255, i16 255, i16 255, i16 255 > ret <4 x i16> %tmp1 } define <4 x i16> @orrimm4h_lsl8(<4 x i16> %a) { ; CHECK-LABEL: orrimm4h_lsl8: ; CHECK: // %bb.0: ; CHECK-NEXT: orr v0.4h, #255, lsl #8 ; CHECK-NEXT: ret %tmp1 = or <4 x i16> %a, < i16 65280, i16 65280, i16 65280, i16 65280 > ret <4 x i16> %tmp1 } define <8 x i16> @orrimm8h_lsl0(<8 x i16> %a) { ; CHECK-LABEL: orrimm8h_lsl0: ; CHECK: // %bb.0: ; CHECK-NEXT: orr v0.8h, #255 ; CHECK-NEXT: ret %tmp1 = or <8 x i16> %a, < i16 255, i16 255, i16 255, i16 255, i16 255, i16 255, i16 255, i16 255 > ret <8 x i16> %tmp1 } define <8 x i16> @orrimm8h_lsl8(<8 x i16> %a) { ; CHECK-LABEL: orrimm8h_lsl8: ; CHECK: // %bb.0: ; CHECK-NEXT: orr v0.8h, #255, lsl #8 ; CHECK-NEXT: ret %tmp1 = or <8 x i16> %a, < i16 65280, i16 65280, i16 65280, i16 65280, i16 65280, i16 65280, i16 65280, i16 65280 > ret <8 x i16> %tmp1 } define <2 x i32> @bicimm2s_lsl0(<2 x i32> %a) { ; CHECK-LABEL: bicimm2s_lsl0: ; CHECK: // %bb.0: ; CHECK-NEXT: bic v0.2s, #16 ; CHECK-NEXT: ret %tmp1 = and <2 x i32> %a, < i32 4294967279, i32 4294967279 > ret <2 x i32> %tmp1 } define <2 x i32> @bicimm2s_lsl8(<2 x i32> %a) { ; CHECK-LABEL: bicimm2s_lsl8: ; CHECK: // %bb.0: ; CHECK-NEXT: bic v0.2s, #16, lsl #8 ; CHECK-NEXT: ret %tmp1 = and <2 x i32> %a, < i32 4294963199, i32 4294963199 > ret <2 x i32> %tmp1 } define <2 x i32> @bicimm2s_lsl16(<2 x i32> %a) { ; CHECK-LABEL: bicimm2s_lsl16: ; CHECK: // %bb.0: ; CHECK-NEXT: bic v0.2s, #16, lsl #16 ; CHECK-NEXT: ret %tmp1 = and <2 x i32> %a, < i32 4293918719, i32 4293918719 > ret <2 x i32> %tmp1 } define <2 x i32> @bicimm2s_lsl124(<2 x i32> %a) { ; CHECK-LABEL: bicimm2s_lsl124: ; CHECK: // %bb.0: ; CHECK-NEXT: bic v0.2s, #16, lsl #24 ; CHECK-NEXT: ret %tmp1 = and <2 x i32> %a, < i32 4026531839, i32 4026531839> ret <2 x i32> %tmp1 } define <4 x i32> @bicimm4s_lsl0(<4 x i32> %a) { ; CHECK-LABEL: bicimm4s_lsl0: ; CHECK: // %bb.0: ; CHECK-NEXT: bic v0.4s, #16 ; CHECK-NEXT: ret %tmp1 = and <4 x i32> %a, < i32 4294967279, i32 4294967279, i32 4294967279, i32 4294967279 > ret <4 x i32> %tmp1 } define <4 x i32> @bicimm4s_lsl8(<4 x i32> %a) { ; CHECK-LABEL: bicimm4s_lsl8: ; CHECK: // %bb.0: ; CHECK-NEXT: bic v0.4s, #16, lsl #8 ; CHECK-NEXT: ret %tmp1 = and <4 x i32> %a, < i32 4294963199, i32 4294963199, i32 4294963199, i32 4294963199 > ret <4 x i32> %tmp1 } define <4 x i32> @bicimm4s_lsl16(<4 x i32> %a) { ; CHECK-LABEL: bicimm4s_lsl16: ; CHECK: // %bb.0: ; CHECK-NEXT: bic v0.4s, #16, lsl #16 ; CHECK-NEXT: ret %tmp1 = and <4 x i32> %a, < i32 4293918719, i32 4293918719, i32 4293918719, i32 4293918719 > ret <4 x i32> %tmp1 } define <4 x i32> @bicimm4s_lsl124(<4 x i32> %a) { ; CHECK-LABEL: bicimm4s_lsl124: ; CHECK: // %bb.0: ; CHECK-NEXT: bic v0.4s, #16, lsl #24 ; CHECK-NEXT: ret %tmp1 = and <4 x i32> %a, < i32 4026531839, i32 4026531839, i32 4026531839, i32 4026531839> ret <4 x i32> %tmp1 } define <4 x i16> @bicimm4h_lsl0_a(<4 x i16> %a) { ; CHECK-LABEL: bicimm4h_lsl0_a: ; CHECK: // %bb.0: ; CHECK-NEXT: bic v0.4h, #16 ; CHECK-NEXT: ret %tmp1 = and <4 x i16> %a, < i16 4294967279, i16 4294967279, i16 4294967279, i16 4294967279 > ret <4 x i16> %tmp1 } define <4 x i16> @bicimm4h_lsl0_b(<4 x i16> %a) { ; CHECK-LABEL: bicimm4h_lsl0_b: ; CHECK: // %bb.0: ; CHECK-NEXT: bic v0.4h, #255 ; CHECK-NEXT: ret %tmp1 = and <4 x i16> %a, < i16 65280, i16 65280, i16 65280, i16 65280 > ret <4 x i16> %tmp1 } define <4 x i16> @bicimm4h_lsl8_a(<4 x i16> %a) { ; CHECK-LABEL: bicimm4h_lsl8_a: ; CHECK: // %bb.0: ; CHECK-NEXT: bic v0.4h, #16, lsl #8 ; CHECK-NEXT: ret %tmp1 = and <4 x i16> %a, < i16 4294963199, i16 4294963199, i16 4294963199, i16 4294963199> ret <4 x i16> %tmp1 } define <4 x i16> @bicimm4h_lsl8_b(<4 x i16> %a) { ; CHECK-LABEL: bicimm4h_lsl8_b: ; CHECK: // %bb.0: ; CHECK-NEXT: bic v0.4h, #255, lsl #8 ; CHECK-NEXT: ret %tmp1 = and <4 x i16> %a, < i16 255, i16 255, i16 255, i16 255> ret <4 x i16> %tmp1 } define <8 x i16> @bicimm8h_lsl0_a(<8 x i16> %a) { ; CHECK-LABEL: bicimm8h_lsl0_a: ; CHECK: // %bb.0: ; CHECK-NEXT: bic v0.8h, #16 ; CHECK-NEXT: ret %tmp1 = and <8 x i16> %a, < i16 4294967279, i16 4294967279, i16 4294967279, i16 4294967279, i16 4294967279, i16 4294967279, i16 4294967279, i16 4294967279 > ret <8 x i16> %tmp1 } define <8 x i16> @bicimm8h_lsl0_b(<8 x i16> %a) { ; CHECK-LABEL: bicimm8h_lsl0_b: ; CHECK: // %bb.0: ; CHECK-NEXT: bic v0.8h, #255 ; CHECK-NEXT: ret %tmp1 = and <8 x i16> %a, < i16 65280, i16 65280, i16 65280, i16 65280, i16 65280, i16 65280, i16 65280, i16 65280 > ret <8 x i16> %tmp1 } define <8 x i16> @bicimm8h_lsl8_a(<8 x i16> %a) { ; CHECK-LABEL: bicimm8h_lsl8_a: ; CHECK: // %bb.0: ; CHECK-NEXT: bic v0.8h, #16, lsl #8 ; CHECK-NEXT: ret %tmp1 = and <8 x i16> %a, < i16 4294963199, i16 4294963199, i16 4294963199, i16 4294963199, i16 4294963199, i16 4294963199, i16 4294963199, i16 4294963199> ret <8 x i16> %tmp1 } define <8 x i16> @bicimm8h_lsl8_b(<8 x i16> %a) { ; CHECK-LABEL: bicimm8h_lsl8_b: ; CHECK: // %bb.0: ; CHECK-NEXT: bic v0.8h, #255, lsl #8 ; CHECK-NEXT: ret %tmp1 = and <8 x i16> %a, < i16 255, i16 255, i16 255, i16 255, i16 255, i16 255, i16 255, i16 255> ret <8 x i16> %tmp1 } define <2 x i32> @and2xi32(<2 x i32> %a, <2 x i32> %b) { ; CHECK-LABEL: and2xi32: ; CHECK: // %bb.0: ; CHECK-NEXT: and v0.8b, v0.8b, v1.8b ; CHECK-NEXT: ret %tmp1 = and <2 x i32> %a, %b; ret <2 x i32> %tmp1 } define <4 x i16> @and4xi16(<4 x i16> %a, <4 x i16> %b) { ; CHECK-LABEL: and4xi16: ; CHECK: // %bb.0: ; CHECK-NEXT: and v0.8b, v0.8b, v1.8b ; CHECK-NEXT: ret %tmp1 = and <4 x i16> %a, %b; ret <4 x i16> %tmp1 } define <1 x i64> @and1xi64(<1 x i64> %a, <1 x i64> %b) { ; CHECK-LABEL: and1xi64: ; CHECK: // %bb.0: ; CHECK-NEXT: and v0.8b, v0.8b, v1.8b ; CHECK-NEXT: ret %tmp1 = and <1 x i64> %a, %b; ret <1 x i64> %tmp1 } define <4 x i32> @and4xi32(<4 x i32> %a, <4 x i32> %b) { ; CHECK-LABEL: and4xi32: ; CHECK: // %bb.0: ; CHECK-NEXT: and v0.16b, v0.16b, v1.16b ; CHECK-NEXT: ret %tmp1 = and <4 x i32> %a, %b; ret <4 x i32> %tmp1 } define <8 x i16> @and8xi16(<8 x i16> %a, <8 x i16> %b) { ; CHECK-LABEL: and8xi16: ; CHECK: // %bb.0: ; CHECK-NEXT: and v0.16b, v0.16b, v1.16b ; CHECK-NEXT: ret %tmp1 = and <8 x i16> %a, %b; ret <8 x i16> %tmp1 } define <2 x i64> @and2xi64(<2 x i64> %a, <2 x i64> %b) { ; CHECK-LABEL: and2xi64: ; CHECK: // %bb.0: ; CHECK-NEXT: and v0.16b, v0.16b, v1.16b ; CHECK-NEXT: ret %tmp1 = and <2 x i64> %a, %b; ret <2 x i64> %tmp1 } define <2 x i32> @orr2xi32(<2 x i32> %a, <2 x i32> %b) { ; CHECK-LABEL: orr2xi32: ; CHECK: // %bb.0: ; CHECK-NEXT: orr v0.8b, v0.8b, v1.8b ; CHECK-NEXT: ret %tmp1 = or <2 x i32> %a, %b; ret <2 x i32> %tmp1 } define <4 x i16> @orr4xi16(<4 x i16> %a, <4 x i16> %b) { ; CHECK-LABEL: orr4xi16: ; CHECK: // %bb.0: ; CHECK-NEXT: orr v0.8b, v0.8b, v1.8b ; CHECK-NEXT: ret %tmp1 = or <4 x i16> %a, %b; ret <4 x i16> %tmp1 } define <1 x i64> @orr1xi64(<1 x i64> %a, <1 x i64> %b) { ; CHECK-LABEL: orr1xi64: ; CHECK: // %bb.0: ; CHECK-NEXT: orr v0.8b, v0.8b, v1.8b ; CHECK-NEXT: ret %tmp1 = or <1 x i64> %a, %b; ret <1 x i64> %tmp1 } define <4 x i32> @orr4xi32(<4 x i32> %a, <4 x i32> %b) { ; CHECK-LABEL: orr4xi32: ; CHECK: // %bb.0: ; CHECK-NEXT: orr v0.16b, v0.16b, v1.16b ; CHECK-NEXT: ret %tmp1 = or <4 x i32> %a, %b; ret <4 x i32> %tmp1 } define <8 x i16> @orr8xi16(<8 x i16> %a, <8 x i16> %b) { ; CHECK-LABEL: orr8xi16: ; CHECK: // %bb.0: ; CHECK-NEXT: orr v0.16b, v0.16b, v1.16b ; CHECK-NEXT: ret %tmp1 = or <8 x i16> %a, %b; ret <8 x i16> %tmp1 } define <2 x i64> @orr2xi64(<2 x i64> %a, <2 x i64> %b) { ; CHECK-LABEL: orr2xi64: ; CHECK: // %bb.0: ; CHECK-NEXT: orr v0.16b, v0.16b, v1.16b ; CHECK-NEXT: ret %tmp1 = or <2 x i64> %a, %b; ret <2 x i64> %tmp1 } define <2 x i32> @eor2xi32(<2 x i32> %a, <2 x i32> %b) { ; CHECK-LABEL: eor2xi32: ; CHECK: // %bb.0: ; CHECK-NEXT: eor v0.8b, v0.8b, v1.8b ; CHECK-NEXT: ret %tmp1 = xor <2 x i32> %a, %b; ret <2 x i32> %tmp1 } define <4 x i16> @eor4xi16(<4 x i16> %a, <4 x i16> %b) { ; CHECK-LABEL: eor4xi16: ; CHECK: // %bb.0: ; CHECK-NEXT: eor v0.8b, v0.8b, v1.8b ; CHECK-NEXT: ret %tmp1 = xor <4 x i16> %a, %b; ret <4 x i16> %tmp1 } define <1 x i64> @eor1xi64(<1 x i64> %a, <1 x i64> %b) { ; CHECK-LABEL: eor1xi64: ; CHECK: // %bb.0: ; CHECK-NEXT: eor v0.8b, v0.8b, v1.8b ; CHECK-NEXT: ret %tmp1 = xor <1 x i64> %a, %b; ret <1 x i64> %tmp1 } define <4 x i32> @eor4xi32(<4 x i32> %a, <4 x i32> %b) { ; CHECK-LABEL: eor4xi32: ; CHECK: // %bb.0: ; CHECK-NEXT: eor v0.16b, v0.16b, v1.16b ; CHECK-NEXT: ret %tmp1 = xor <4 x i32> %a, %b; ret <4 x i32> %tmp1 } define <8 x i16> @eor8xi16(<8 x i16> %a, <8 x i16> %b) { ; CHECK-LABEL: eor8xi16: ; CHECK: // %bb.0: ; CHECK-NEXT: eor v0.16b, v0.16b, v1.16b ; CHECK-NEXT: ret %tmp1 = xor <8 x i16> %a, %b; ret <8 x i16> %tmp1 } define <2 x i64> @eor2xi64(<2 x i64> %a, <2 x i64> %b) { ; CHECK-LABEL: eor2xi64: ; CHECK: // %bb.0: ; CHECK-NEXT: eor v0.16b, v0.16b, v1.16b ; CHECK-NEXT: ret %tmp1 = xor <2 x i64> %a, %b; ret <2 x i64> %tmp1 } define <2 x i32> @bic2xi32(<2 x i32> %a, <2 x i32> %b) { ; CHECK-LABEL: bic2xi32: ; CHECK: // %bb.0: ; CHECK-NEXT: bic v0.8b, v0.8b, v1.8b ; CHECK-NEXT: ret %tmp1 = xor <2 x i32> %b, < i32 -1, i32 -1 > %tmp2 = and <2 x i32> %a, %tmp1 ret <2 x i32> %tmp2 } define <4 x i16> @bic4xi16(<4 x i16> %a, <4 x i16> %b) { ; CHECK-LABEL: bic4xi16: ; CHECK: // %bb.0: ; CHECK-NEXT: bic v0.8b, v0.8b, v1.8b ; CHECK-NEXT: ret %tmp1 = xor <4 x i16> %b, < i16 -1, i16 -1, i16 -1, i16-1 > %tmp2 = and <4 x i16> %a, %tmp1 ret <4 x i16> %tmp2 } define <1 x i64> @bic1xi64(<1 x i64> %a, <1 x i64> %b) { ; CHECK-LABEL: bic1xi64: ; CHECK: // %bb.0: ; CHECK-NEXT: bic v0.8b, v0.8b, v1.8b ; CHECK-NEXT: ret %tmp1 = xor <1 x i64> %b, < i64 -1> %tmp2 = and <1 x i64> %a, %tmp1 ret <1 x i64> %tmp2 } define <4 x i32> @bic4xi32(<4 x i32> %a, <4 x i32> %b) { ; CHECK-LABEL: bic4xi32: ; CHECK: // %bb.0: ; CHECK-NEXT: bic v0.16b, v0.16b, v1.16b ; CHECK-NEXT: ret %tmp1 = xor <4 x i32> %b, < i32 -1, i32 -1, i32 -1, i32 -1> %tmp2 = and <4 x i32> %a, %tmp1 ret <4 x i32> %tmp2 } define <8 x i16> @bic8xi16(<8 x i16> %a, <8 x i16> %b) { ; CHECK-LABEL: bic8xi16: ; CHECK: // %bb.0: ; CHECK-NEXT: bic v0.16b, v0.16b, v1.16b ; CHECK-NEXT: ret %tmp1 = xor <8 x i16> %b, < i16 -1, i16 -1, i16 -1, i16-1, i16 -1, i16 -1, i16 -1, i16 -1 > %tmp2 = and <8 x i16> %a, %tmp1 ret <8 x i16> %tmp2 } define <2 x i64> @bic2xi64(<2 x i64> %a, <2 x i64> %b) { ; CHECK-LABEL: bic2xi64: ; CHECK: // %bb.0: ; CHECK-NEXT: bic v0.16b, v0.16b, v1.16b ; CHECK-NEXT: ret %tmp1 = xor <2 x i64> %b, < i64 -1, i64 -1> %tmp2 = and <2 x i64> %a, %tmp1 ret <2 x i64> %tmp2 } define <2 x i32> @orn2xi32(<2 x i32> %a, <2 x i32> %b) { ; CHECK-LABEL: orn2xi32: ; CHECK: // %bb.0: ; CHECK-NEXT: orn v0.8b, v0.8b, v1.8b ; CHECK-NEXT: ret %tmp1 = xor <2 x i32> %b, < i32 -1, i32 -1 > %tmp2 = or <2 x i32> %a, %tmp1 ret <2 x i32> %tmp2 } define <4 x i16> @orn4xi16(<4 x i16> %a, <4 x i16> %b) { ; CHECK-LABEL: orn4xi16: ; CHECK: // %bb.0: ; CHECK-NEXT: orn v0.8b, v0.8b, v1.8b ; CHECK-NEXT: ret %tmp1 = xor <4 x i16> %b, < i16 -1, i16 -1, i16 -1, i16-1 > %tmp2 = or <4 x i16> %a, %tmp1 ret <4 x i16> %tmp2 } define <1 x i64> @orn1xi64(<1 x i64> %a, <1 x i64> %b) { ; CHECK-LABEL: orn1xi64: ; CHECK: // %bb.0: ; CHECK-NEXT: orn v0.8b, v0.8b, v1.8b ; CHECK-NEXT: ret %tmp1 = xor <1 x i64> %b, < i64 -1> %tmp2 = or <1 x i64> %a, %tmp1 ret <1 x i64> %tmp2 } define <4 x i32> @orn4xi32(<4 x i32> %a, <4 x i32> %b) { ; CHECK-LABEL: orn4xi32: ; CHECK: // %bb.0: ; CHECK-NEXT: orn v0.16b, v0.16b, v1.16b ; CHECK-NEXT: ret %tmp1 = xor <4 x i32> %b, < i32 -1, i32 -1, i32 -1, i32 -1> %tmp2 = or <4 x i32> %a, %tmp1 ret <4 x i32> %tmp2 } define <8 x i16> @orn8xi16(<8 x i16> %a, <8 x i16> %b) { ; CHECK-LABEL: orn8xi16: ; CHECK: // %bb.0: ; CHECK-NEXT: orn v0.16b, v0.16b, v1.16b ; CHECK-NEXT: ret %tmp1 = xor <8 x i16> %b, < i16 -1, i16 -1, i16 -1, i16-1, i16 -1, i16 -1, i16 -1, i16 -1 > %tmp2 = or <8 x i16> %a, %tmp1 ret <8 x i16> %tmp2 } define <2 x i64> @orn2xi64(<2 x i64> %a, <2 x i64> %b) { ; CHECK-LABEL: orn2xi64: ; CHECK: // %bb.0: ; CHECK-NEXT: orn v0.16b, v0.16b, v1.16b ; CHECK-NEXT: ret %tmp1 = xor <2 x i64> %b, < i64 -1, i64 -1> %tmp2 = or <2 x i64> %a, %tmp1 ret <2 x i64> %tmp2 } define <2 x i32> @bsl2xi32_const(<2 x i32> %a, <2 x i32> %b) { ; CHECK-LABEL: bsl2xi32_const: ; CHECK: // %bb.0: ; CHECK-NEXT: movi d2, #0x000000ffffffff ; CHECK-NEXT: bif v0.8b, v1.8b, v2.8b ; CHECK-NEXT: ret %tmp1 = and <2 x i32> %a, < i32 -1, i32 0 > %tmp2 = and <2 x i32> %b, < i32 0, i32 -1 > %tmp3 = or <2 x i32> %tmp1, %tmp2 ret <2 x i32> %tmp3 } define <4 x i16> @bsl4xi16_const(<4 x i16> %a, <4 x i16> %b) { ; CHECK-LABEL: bsl4xi16_const: ; CHECK: // %bb.0: ; CHECK-NEXT: movi d2, #0x00ffff0000ffff ; CHECK-NEXT: bif v0.8b, v1.8b, v2.8b ; CHECK-NEXT: ret %tmp1 = and <4 x i16> %a, < i16 -1, i16 0, i16 -1,i16 0 > %tmp2 = and <4 x i16> %b, < i16 0, i16 -1,i16 0, i16 -1 > %tmp3 = or <4 x i16> %tmp1, %tmp2 ret <4 x i16> %tmp3 } define <1 x i64> @bsl1xi64_const(<1 x i64> %a, <1 x i64> %b) { ; CHECK-LABEL: bsl1xi64_const: ; CHECK: // %bb.0: ; CHECK-NEXT: movi d2, #0xffffffffffffff00 ; CHECK-NEXT: bif v0.8b, v1.8b, v2.8b ; CHECK-NEXT: ret %tmp1 = and <1 x i64> %a, < i64 -256 > %tmp2 = and <1 x i64> %b, < i64 255 > %tmp3 = or <1 x i64> %tmp1, %tmp2 ret <1 x i64> %tmp3 } define <4 x i32> @bsl4xi32_const(<4 x i32> %a, <4 x i32> %b) { ; CHECK-LABEL: bsl4xi32_const: ; CHECK: // %bb.0: ; CHECK-NEXT: movi v2.2d, #0x000000ffffffff ; CHECK-NEXT: bif v0.16b, v1.16b, v2.16b ; CHECK-NEXT: ret %tmp1 = and <4 x i32> %a, < i32 -1, i32 0, i32 -1, i32 0 > %tmp2 = and <4 x i32> %b, < i32 0, i32 -1, i32 0, i32 -1 > %tmp3 = or <4 x i32> %tmp1, %tmp2 ret <4 x i32> %tmp3 } define <8 x i16> @bsl8xi16_const(<8 x i16> %a, <8 x i16> %b) { ; CHECK-LABEL: bsl8xi16_const: ; CHECK: // %bb.0: ; CHECK-NEXT: movi v2.2d, #0x000000ffffffff ; CHECK-NEXT: bif v0.16b, v1.16b, v2.16b ; CHECK-NEXT: ret %tmp1 = and <8 x i16> %a, < i16 -1, i16 -1, i16 0,i16 0, i16 -1, i16 -1, i16 0,i16 0 > %tmp2 = and <8 x i16> %b, < i16 0, i16 0, i16 -1, i16 -1, i16 0, i16 0, i16 -1, i16 -1 > %tmp3 = or <8 x i16> %tmp1, %tmp2 ret <8 x i16> %tmp3 } define <2 x i64> @bsl2xi64_const(<2 x i64> %a, <2 x i64> %b) { ; CHECK-LABEL: bsl2xi64_const: ; CHECK: // %bb.0: ; CHECK-NEXT: adrp x8, .LCPI75_0 ; CHECK-NEXT: ldr q2, [x8, :lo12:.LCPI75_0] ; CHECK-NEXT: bif v0.16b, v1.16b, v2.16b ; CHECK-NEXT: ret %tmp1 = and <2 x i64> %a, < i64 -1, i64 0 > %tmp2 = and <2 x i64> %b, < i64 0, i64 -1 > %tmp3 = or <2 x i64> %tmp1, %tmp2 ret <2 x i64> %tmp3 } define <8 x i8> @bsl8xi8(<8 x i8> %v1, <8 x i8> %v2, <8 x i8> %v3) { ; CHECK-LABEL: bsl8xi8: ; CHECK: // %bb.0: ; CHECK-NEXT: bsl v0.8b, v1.8b, v2.8b ; CHECK-NEXT: ret %1 = and <8 x i8> %v1, %v2 %2 = xor <8 x i8> %v1, %3 = and <8 x i8> %2, %v3 %4 = or <8 x i8> %1, %3 ret <8 x i8> %4 } define <4 x i16> @bsl4xi16(<4 x i16> %v1, <4 x i16> %v2, <4 x i16> %v3) { ; CHECK-LABEL: bsl4xi16: ; CHECK: // %bb.0: ; CHECK-NEXT: bsl v0.8b, v1.8b, v2.8b ; CHECK-NEXT: ret %1 = and <4 x i16> %v1, %v2 %2 = xor <4 x i16> %v1, %3 = and <4 x i16> %2, %v3 %4 = or <4 x i16> %1, %3 ret <4 x i16> %4 } define <2 x i32> @bsl2xi32(<2 x i32> %v1, <2 x i32> %v2, <2 x i32> %v3) { ; CHECK-LABEL: bsl2xi32: ; CHECK: // %bb.0: ; CHECK-NEXT: bsl v0.8b, v1.8b, v2.8b ; CHECK-NEXT: ret %1 = and <2 x i32> %v1, %v2 %2 = xor <2 x i32> %v1, %3 = and <2 x i32> %2, %v3 %4 = or <2 x i32> %1, %3 ret <2 x i32> %4 } define <1 x i64> @bsl1xi64(<1 x i64> %v1, <1 x i64> %v2, <1 x i64> %v3) { ; CHECK-LABEL: bsl1xi64: ; CHECK: // %bb.0: ; CHECK-NEXT: bsl v0.8b, v1.8b, v2.8b ; CHECK-NEXT: ret %1 = and <1 x i64> %v1, %v2 %2 = xor <1 x i64> %v1, %3 = and <1 x i64> %2, %v3 %4 = or <1 x i64> %1, %3 ret <1 x i64> %4 } define <16 x i8> @bsl16xi8(<16 x i8> %v1, <16 x i8> %v2, <16 x i8> %v3) { ; CHECK-LABEL: bsl16xi8: ; CHECK: // %bb.0: ; CHECK-NEXT: bsl v0.16b, v1.16b, v2.16b ; CHECK-NEXT: ret %1 = and <16 x i8> %v1, %v2 %2 = xor <16 x i8> %v1, %3 = and <16 x i8> %2, %v3 %4 = or <16 x i8> %1, %3 ret <16 x i8> %4 } define <8 x i16> @bsl8xi16(<8 x i16> %v1, <8 x i16> %v2, <8 x i16> %v3) { ; CHECK-LABEL: bsl8xi16: ; CHECK: // %bb.0: ; CHECK-NEXT: bsl v0.16b, v1.16b, v2.16b ; CHECK-NEXT: ret %1 = and <8 x i16> %v1, %v2 %2 = xor <8 x i16> %v1, %3 = and <8 x i16> %2, %v3 %4 = or <8 x i16> %1, %3 ret <8 x i16> %4 } define <4 x i32> @bsl4xi32(<4 x i32> %v1, <4 x i32> %v2, <4 x i32> %v3) { ; CHECK-LABEL: bsl4xi32: ; CHECK: // %bb.0: ; CHECK-NEXT: bsl v0.16b, v1.16b, v2.16b ; CHECK-NEXT: ret %1 = and <4 x i32> %v1, %v2 %2 = xor <4 x i32> %v1, %3 = and <4 x i32> %2, %v3 %4 = or <4 x i32> %1, %3 ret <4 x i32> %4 } define <8 x i8> @vselect_v8i8(<8 x i8> %a) { ; CHECK-LABEL: vselect_v8i8: ; CHECK: // %bb.0: ; CHECK-NEXT: movi d1, #0x0000000000ffff ; CHECK-NEXT: and v0.8b, v0.8b, v1.8b ; CHECK-NEXT: orr v0.2s, #0 ; CHECK-NEXT: ret %b = select <8 x i1> , <8 x i8> %a, <8 x i8> ret <8 x i8> %b } define <4 x i16> @vselect_v4i16(<4 x i16> %a) { ; CHECK-LABEL: vselect_v4i16: ; CHECK: // %bb.0: ; CHECK-NEXT: movi d1, #0x0000000000ffff ; CHECK-NEXT: and v0.8b, v0.8b, v1.8b ; CHECK-NEXT: orr v0.2s, #0 ; CHECK-NEXT: ret %b = select <4 x i1> , <4 x i16> %a, <4 x i16> ret <4 x i16> %b } define <8 x i8> @vselect_cmp_ne(<8 x i8> %a, <8 x i8> %b, <8 x i8> %c) { ; CHECK-LABEL: vselect_cmp_ne: ; CHECK: // %bb.0: ; CHECK-NEXT: cmeq v0.8b, v0.8b, v1.8b ; CHECK-NEXT: bsl v0.8b, v2.8b, v1.8b ; CHECK-NEXT: ret %cmp = icmp ne <8 x i8> %a, %b %d = select <8 x i1> %cmp, <8 x i8> %b, <8 x i8> %c ret <8 x i8> %d } define <8 x i8> @vselect_cmp_eq(<8 x i8> %a, <8 x i8> %b, <8 x i8> %c) { ; CHECK-LABEL: vselect_cmp_eq: ; CHECK: // %bb.0: ; CHECK-NEXT: cmeq v0.8b, v0.8b, v1.8b ; CHECK-NEXT: bsl v0.8b, v1.8b, v2.8b ; CHECK-NEXT: ret %cmp = icmp eq <8 x i8> %a, %b %d = select <8 x i1> %cmp, <8 x i8> %b, <8 x i8> %c ret <8 x i8> %d } define <8 x i8> @vselect_cmpz_ne(<8 x i8> %a, <8 x i8> %b, <8 x i8> %c) { ; CHECK-LABEL: vselect_cmpz_ne: ; CHECK: // %bb.0: ; CHECK-NEXT: cmeq v0.8b, v0.8b, #0 ; CHECK-NEXT: bsl v0.8b, v2.8b, v1.8b ; CHECK-NEXT: ret %cmp = icmp ne <8 x i8> %a, zeroinitializer %d = select <8 x i1> %cmp, <8 x i8> %b, <8 x i8> %c ret <8 x i8> %d } define <8 x i8> @vselect_cmpz_eq(<8 x i8> %a, <8 x i8> %b, <8 x i8> %c) { ; CHECK-LABEL: vselect_cmpz_eq: ; CHECK: // %bb.0: ; CHECK-NEXT: cmeq v0.8b, v0.8b, #0 ; CHECK-NEXT: bsl v0.8b, v1.8b, v2.8b ; CHECK-NEXT: ret %cmp = icmp eq <8 x i8> %a, zeroinitializer %d = select <8 x i1> %cmp, <8 x i8> %b, <8 x i8> %c ret <8 x i8> %d } define <8 x i8> @vselect_tst(<8 x i8> %a, <8 x i8> %b, <8 x i8> %c) { ; CHECK-LABEL: vselect_tst: ; CHECK: // %bb.0: ; CHECK-NEXT: and v0.8b, v0.8b, v1.8b ; CHECK-NEXT: cmeq v0.8b, v0.8b, #0 ; CHECK-NEXT: bsl v0.8b, v2.8b, v1.8b ; CHECK-NEXT: ret %tmp3 = and <8 x i8> %a, %b %tmp4 = icmp eq <8 x i8> %tmp3, zeroinitializer %d = select <8 x i1> %tmp4, <8 x i8> %c, <8 x i8> %b ret <8 x i8> %d } define <8 x i8> @sext_tst(<8 x i8> %a, <8 x i8> %b, <8 x i8> %c) { ; CHECK-LABEL: sext_tst: ; CHECK: // %bb.0: ; CHECK-NEXT: cmtst v0.8b, v0.8b, v1.8b ; CHECK-NEXT: ret %tmp3 = and <8 x i8> %a, %b %tmp4 = icmp ne <8 x i8> %tmp3, zeroinitializer %d = sext <8 x i1> %tmp4 to <8 x i8> ret <8 x i8> %d } define <2 x i64> @bsl2xi64(<2 x i64> %v1, <2 x i64> %v2, <2 x i64> %v3) { ; CHECK-LABEL: bsl2xi64: ; CHECK: // %bb.0: ; CHECK-NEXT: bsl v0.16b, v1.16b, v2.16b ; CHECK-NEXT: ret %1 = and <2 x i64> %v1, %v2 %2 = xor <2 x i64> %v1, %3 = and <2 x i64> %2, %v3 %4 = or <2 x i64> %1, %3 ret <2 x i64> %4 } define <8 x i8> @orrimm8b_as_orrimm4h_lsl0(<8 x i8> %a) { ; CHECK-LABEL: orrimm8b_as_orrimm4h_lsl0: ; CHECK: // %bb.0: ; CHECK-NEXT: orr v0.4h, #255 ; CHECK-NEXT: ret %val = or <8 x i8> %a, ret <8 x i8> %val } define <8 x i8> @orrimm8b_as_orimm4h_lsl8(<8 x i8> %a) { ; CHECK-LABEL: orrimm8b_as_orimm4h_lsl8: ; CHECK: // %bb.0: ; CHECK-NEXT: orr v0.4h, #255, lsl #8 ; CHECK-NEXT: ret %val = or <8 x i8> %a, ret <8 x i8> %val } define <16 x i8> @orimm16b_as_orrimm8h_lsl0(<16 x i8> %a) { ; CHECK-LABEL: orimm16b_as_orrimm8h_lsl0: ; CHECK: // %bb.0: ; CHECK-NEXT: orr v0.8h, #255 ; CHECK-NEXT: ret %val = or <16 x i8> %a, ret <16 x i8> %val } define <16 x i8> @orimm16b_as_orrimm8h_lsl8(<16 x i8> %a) { ; CHECK-LABEL: orimm16b_as_orrimm8h_lsl8: ; CHECK: // %bb.0: ; CHECK-NEXT: orr v0.8h, #255, lsl #8 ; CHECK-NEXT: ret %val = or <16 x i8> %a, ret <16 x i8> %val } define <8 x i8> @and8imm2s_lsl0(<8 x i8> %a) { ; CHECK-LABEL: and8imm2s_lsl0: ; CHECK: // %bb.0: ; CHECK-NEXT: bic v0.2s, #255 ; CHECK-NEXT: ret %tmp1 = and <8 x i8> %a, < i8 0, i8 255, i8 255, i8 255, i8 0, i8 255, i8 255, i8 255> ret <8 x i8> %tmp1 } define <8 x i8> @and8imm2s_lsl8(<8 x i8> %a) { ; CHECK-LABEL: and8imm2s_lsl8: ; CHECK: // %bb.0: ; CHECK-NEXT: bic v0.2s, #255, lsl #8 ; CHECK-NEXT: ret %tmp1 = and <8 x i8> %a, < i8 255, i8 0, i8 255, i8 255, i8 255, i8 0, i8 255, i8 255> ret <8 x i8> %tmp1 } define <8 x i8> @and8imm2s_lsl16(<8 x i8> %a) { ; CHECK-LABEL: and8imm2s_lsl16: ; CHECK: // %bb.0: ; CHECK-NEXT: bic v0.2s, #255, lsl #16 ; CHECK-NEXT: ret %tmp1 = and <8 x i8> %a, < i8 255, i8 255, i8 0, i8 255, i8 255, i8 255, i8 0, i8 255> ret <8 x i8> %tmp1 } define <8 x i8> @and8imm2s_lsl24(<8 x i8> %a) { ; CHECK-LABEL: and8imm2s_lsl24: ; CHECK: // %bb.0: ; CHECK-NEXT: bic v0.2s, #254, lsl #24 ; CHECK-NEXT: ret %tmp1 = and <8 x i8> %a, < i8 255, i8 255, i8 255, i8 1, i8 255, i8 255, i8 255, i8 1> ret <8 x i8> %tmp1 } define <4 x i16> @and16imm2s_lsl0(<4 x i16> %a) { ; CHECK-LABEL: and16imm2s_lsl0: ; CHECK: // %bb.0: ; CHECK-NEXT: bic v0.2s, #255 ; CHECK-NEXT: ret %tmp1 = and <4 x i16> %a, < i16 65280, i16 65535, i16 65280, i16 65535> ret <4 x i16> %tmp1 } define <4 x i16> @and16imm2s_lsl8(<4 x i16> %a) { ; CHECK-LABEL: and16imm2s_lsl8: ; CHECK: // %bb.0: ; CHECK-NEXT: bic v0.2s, #255, lsl #8 ; CHECK-NEXT: ret %tmp1 = and <4 x i16> %a, < i16 255, i16 65535, i16 255, i16 65535> ret <4 x i16> %tmp1 } define <4 x i16> @and16imm2s_lsl16(<4 x i16> %a) { ; CHECK-LABEL: and16imm2s_lsl16: ; CHECK: // %bb.0: ; CHECK-NEXT: bic v0.2s, #255, lsl #16 ; CHECK-NEXT: ret %tmp1 = and <4 x i16> %a, < i16 65535, i16 65280, i16 65535, i16 65280> ret <4 x i16> %tmp1 } define <4 x i16> @and16imm2s_lsl24(<4 x i16> %a) { ; CHECK-LABEL: and16imm2s_lsl24: ; CHECK: // %bb.0: ; CHECK-NEXT: bic v0.2s, #254, lsl #24 ; CHECK-NEXT: ret %tmp1 = and <4 x i16> %a, < i16 65535, i16 511, i16 65535, i16 511> ret <4 x i16> %tmp1 } define <1 x i64> @and64imm2s_lsl0(<1 x i64> %a) { ; CHECK-LABEL: and64imm2s_lsl0: ; CHECK: // %bb.0: ; CHECK-NEXT: bic v0.2s, #255 ; CHECK-NEXT: ret %tmp1 = and <1 x i64> %a, < i64 -1095216660736> ret <1 x i64> %tmp1 } define <1 x i64> @and64imm2s_lsl8(<1 x i64> %a) { ; CHECK-LABEL: and64imm2s_lsl8: ; CHECK: // %bb.0: ; CHECK-NEXT: bic v0.2s, #255, lsl #8 ; CHECK-NEXT: ret %tmp1 = and <1 x i64> %a, < i64 -280375465148161> ret <1 x i64> %tmp1 } define <1 x i64> @and64imm2s_lsl16(<1 x i64> %a) { ; CHECK-LABEL: and64imm2s_lsl16: ; CHECK: // %bb.0: ; CHECK-NEXT: bic v0.2s, #255, lsl #16 ; CHECK-NEXT: ret %tmp1 = and <1 x i64> %a, < i64 -71776119077928961> ret <1 x i64> %tmp1 } define <1 x i64> @and64imm2s_lsl24(<1 x i64> %a) { ; CHECK-LABEL: and64imm2s_lsl24: ; CHECK: // %bb.0: ; CHECK-NEXT: bic v0.2s, #254, lsl #24 ; CHECK-NEXT: ret %tmp1 = and <1 x i64> %a, < i64 144115183814443007> ret <1 x i64> %tmp1 } define <16 x i8> @and8imm4s_lsl0(<16 x i8> %a) { ; CHECK-LABEL: and8imm4s_lsl0: ; CHECK: // %bb.0: ; CHECK-NEXT: bic v0.4s, #255 ; CHECK-NEXT: ret %tmp1 = and <16 x i8> %a, < i8 0, i8 255, i8 255, i8 255, i8 0, i8 255, i8 255, i8 255, i8 0, i8 255, i8 255, i8 255, i8 0, i8 255, i8 255, i8 255> ret <16 x i8> %tmp1 } define <16 x i8> @and8imm4s_lsl8(<16 x i8> %a) { ; CHECK-LABEL: and8imm4s_lsl8: ; CHECK: // %bb.0: ; CHECK-NEXT: bic v0.4s, #255, lsl #8 ; CHECK-NEXT: ret %tmp1 = and <16 x i8> %a, < i8 255, i8 0, i8 255, i8 255, i8 255, i8 0, i8 255, i8 255, i8 255, i8 0, i8 255, i8 255, i8 255, i8 0, i8 255, i8 255> ret <16 x i8> %tmp1 } define <16 x i8> @and8imm4s_lsl16(<16 x i8> %a) { ; CHECK-LABEL: and8imm4s_lsl16: ; CHECK: // %bb.0: ; CHECK-NEXT: bic v0.4s, #255, lsl #16 ; CHECK-NEXT: ret %tmp1 = and <16 x i8> %a, < i8 255, i8 255, i8 0, i8 255, i8 255, i8 255, i8 0, i8 255, i8 255, i8 255, i8 0, i8 255, i8 255, i8 255, i8 0, i8 255> ret <16 x i8> %tmp1 } define <16 x i8> @and8imm4s_lsl24(<16 x i8> %a) { ; CHECK-LABEL: and8imm4s_lsl24: ; CHECK: // %bb.0: ; CHECK-NEXT: bic v0.4s, #254, lsl #24 ; CHECK-NEXT: ret %tmp1 = and <16 x i8> %a, < i8 255, i8 255, i8 255, i8 1, i8 255, i8 255, i8 255, i8 1, i8 255, i8 255, i8 255, i8 1, i8 255, i8 255, i8 255, i8 1> ret <16 x i8> %tmp1 } define <8 x i16> @and16imm4s_lsl0(<8 x i16> %a) { ; CHECK-LABEL: and16imm4s_lsl0: ; CHECK: // %bb.0: ; CHECK-NEXT: bic v0.4s, #255 ; CHECK-NEXT: ret %tmp1 = and <8 x i16> %a, < i16 65280, i16 65535, i16 65280, i16 65535, i16 65280, i16 65535, i16 65280, i16 65535> ret <8 x i16> %tmp1 } define <8 x i16> @and16imm4s_lsl8(<8 x i16> %a) { ; CHECK-LABEL: and16imm4s_lsl8: ; CHECK: // %bb.0: ; CHECK-NEXT: bic v0.4s, #255, lsl #8 ; CHECK-NEXT: ret %tmp1 = and <8 x i16> %a, < i16 255, i16 65535, i16 255, i16 65535, i16 255, i16 65535, i16 255, i16 65535> ret <8 x i16> %tmp1 } define <8 x i16> @and16imm4s_lsl16(<8 x i16> %a) { ; CHECK-LABEL: and16imm4s_lsl16: ; CHECK: // %bb.0: ; CHECK-NEXT: bic v0.4s, #255, lsl #16 ; CHECK-NEXT: ret %tmp1 = and <8 x i16> %a, < i16 65535, i16 65280, i16 65535, i16 65280, i16 65535, i16 65280, i16 65535, i16 65280> ret <8 x i16> %tmp1 } define <8 x i16> @and16imm4s_lsl24(<8 x i16> %a) { ; CHECK-LABEL: and16imm4s_lsl24: ; CHECK: // %bb.0: ; CHECK-NEXT: bic v0.4s, #254, lsl #24 ; CHECK-NEXT: ret %tmp1 = and <8 x i16> %a, < i16 65535, i16 511, i16 65535, i16 511, i16 65535, i16 511, i16 65535, i16 511> ret <8 x i16> %tmp1 } define <2 x i64> @and64imm4s_lsl0(<2 x i64> %a) { ; CHECK-LABEL: and64imm4s_lsl0: ; CHECK: // %bb.0: ; CHECK-NEXT: bic v0.4s, #255 ; CHECK-NEXT: ret %tmp1 = and <2 x i64> %a, < i64 -1095216660736, i64 -1095216660736> ret <2 x i64> %tmp1 } define <2 x i64> @and64imm4s_lsl8(<2 x i64> %a) { ; CHECK-LABEL: and64imm4s_lsl8: ; CHECK: // %bb.0: ; CHECK-NEXT: bic v0.4s, #255, lsl #8 ; CHECK-NEXT: ret %tmp1 = and <2 x i64> %a, < i64 -280375465148161, i64 -280375465148161> ret <2 x i64> %tmp1 } define <2 x i64> @and64imm4s_lsl16(<2 x i64> %a) { ; CHECK-LABEL: and64imm4s_lsl16: ; CHECK: // %bb.0: ; CHECK-NEXT: bic v0.4s, #255, lsl #16 ; CHECK-NEXT: ret %tmp1 = and <2 x i64> %a, < i64 -71776119077928961, i64 -71776119077928961> ret <2 x i64> %tmp1 } define <2 x i64> @and64imm4s_lsl24(<2 x i64> %a) { ; CHECK-LABEL: and64imm4s_lsl24: ; CHECK: // %bb.0: ; CHECK-NEXT: bic v0.4s, #254, lsl #24 ; CHECK-NEXT: ret %tmp1 = and <2 x i64> %a, < i64 144115183814443007, i64 144115183814443007> ret <2 x i64> %tmp1 } define <8 x i8> @and8imm4h_lsl0(<8 x i8> %a) { ; CHECK-LABEL: and8imm4h_lsl0: ; CHECK: // %bb.0: ; CHECK-NEXT: bic v0.4h, #255 ; CHECK-NEXT: ret %tmp1 = and <8 x i8> %a, < i8 0, i8 255, i8 0, i8 255, i8 0, i8 255, i8 0, i8 255> ret <8 x i8> %tmp1 } define <8 x i8> @and8imm4h_lsl8(<8 x i8> %a) { ; CHECK-LABEL: and8imm4h_lsl8: ; CHECK: // %bb.0: ; CHECK-NEXT: bic v0.4h, #255, lsl #8 ; CHECK-NEXT: ret %tmp1 = and <8 x i8> %a, < i8 255, i8 0, i8 255, i8 0, i8 255, i8 0, i8 255, i8 0> ret <8 x i8> %tmp1 } define <2 x i32> @and16imm4h_lsl0(<2 x i32> %a) { ; CHECK-LABEL: and16imm4h_lsl0: ; CHECK: // %bb.0: ; CHECK-NEXT: bic v0.4h, #255 ; CHECK-NEXT: ret %tmp1 = and <2 x i32> %a, < i32 4278255360, i32 4278255360> ret <2 x i32> %tmp1 } define <2 x i32> @and16imm4h_lsl8(<2 x i32> %a) { ; CHECK-LABEL: and16imm4h_lsl8: ; CHECK: // %bb.0: ; CHECK-NEXT: bic v0.4h, #255, lsl #8 ; CHECK-NEXT: ret %tmp1 = and <2 x i32> %a, < i32 16711935, i32 16711935> ret <2 x i32> %tmp1 } define <1 x i64> @and64imm4h_lsl0(<1 x i64> %a) { ; CHECK-LABEL: and64imm4h_lsl0: ; CHECK: // %bb.0: ; CHECK-NEXT: bic v0.4h, #255 ; CHECK-NEXT: ret %tmp1 = and <1 x i64> %a, < i64 -71777214294589696> ret <1 x i64> %tmp1 } define <1 x i64> @and64imm4h_lsl8(<1 x i64> %a) { ; CHECK-LABEL: and64imm4h_lsl8: ; CHECK: // %bb.0: ; CHECK-NEXT: bic v0.4h, #255, lsl #8 ; CHECK-NEXT: ret %tmp1 = and <1 x i64> %a, < i64 71777214294589695> ret <1 x i64> %tmp1 } define <16 x i8> @and8imm8h_lsl0(<16 x i8> %a) { ; CHECK-LABEL: and8imm8h_lsl0: ; CHECK: // %bb.0: ; CHECK-NEXT: bic v0.8h, #255 ; CHECK-NEXT: ret %tmp1 = and <16 x i8> %a, < i8 0, i8 255, i8 0, i8 255, i8 0, i8 255, i8 0, i8 255, i8 0, i8 255, i8 0, i8 255, i8 0, i8 255, i8 0, i8 255 > ret <16 x i8> %tmp1 } define <16 x i8> @and8imm8h_lsl8(<16 x i8> %a) { ; CHECK-LABEL: and8imm8h_lsl8: ; CHECK: // %bb.0: ; CHECK-NEXT: bic v0.8h, #255, lsl #8 ; CHECK-NEXT: ret %tmp1 = and <16 x i8> %a, ret <16 x i8> %tmp1 } define <4 x i32> @and16imm8h_lsl0(<4 x i32> %a) { ; CHECK-LABEL: and16imm8h_lsl0: ; CHECK: // %bb.0: ; CHECK-NEXT: bic v0.8h, #255 ; CHECK-NEXT: ret %tmp1 = and <4 x i32> %a, < i32 4278255360, i32 4278255360, i32 4278255360, i32 4278255360> ret <4 x i32> %tmp1 } define <4 x i32> @and16imm8h_lsl8(<4 x i32> %a) { ; CHECK-LABEL: and16imm8h_lsl8: ; CHECK: // %bb.0: ; CHECK-NEXT: bic v0.8h, #255, lsl #8 ; CHECK-NEXT: ret %tmp1 = and <4 x i32> %a, < i32 16711935, i32 16711935, i32 16711935, i32 16711935> ret <4 x i32> %tmp1 } define <2 x i64> @and64imm8h_lsl0(<2 x i64> %a) { ; CHECK-LABEL: and64imm8h_lsl0: ; CHECK: // %bb.0: ; CHECK-NEXT: bic v0.8h, #255 ; CHECK-NEXT: ret %tmp1 = and <2 x i64> %a, < i64 -71777214294589696, i64 -71777214294589696> ret <2 x i64> %tmp1 } define <2 x i64> @and64imm8h_lsl8(<2 x i64> %a) { ; CHECK-LABEL: and64imm8h_lsl8: ; CHECK: // %bb.0: ; CHECK-NEXT: bic v0.8h, #255, lsl #8 ; CHECK-NEXT: ret %tmp1 = and <2 x i64> %a, < i64 71777214294589695, i64 71777214294589695> ret <2 x i64> %tmp1 } define <8 x i8> @orr8imm2s_lsl0(<8 x i8> %a) { ; CHECK-LABEL: orr8imm2s_lsl0: ; CHECK: // %bb.0: ; CHECK-NEXT: orr v0.2s, #255 ; CHECK-NEXT: ret %tmp1 = or <8 x i8> %a, < i8 255, i8 0, i8 0, i8 0, i8 255, i8 0, i8 0, i8 0> ret <8 x i8> %tmp1 } define <8 x i8> @orr8imm2s_lsl8(<8 x i8> %a) { ; CHECK-LABEL: orr8imm2s_lsl8: ; CHECK: // %bb.0: ; CHECK-NEXT: orr v0.2s, #255, lsl #8 ; CHECK-NEXT: ret %tmp1 = or <8 x i8> %a, < i8 0, i8 255, i8 0, i8 0, i8 0, i8 255, i8 0, i8 0> ret <8 x i8> %tmp1 } define <8 x i8> @orr8imm2s_lsl16(<8 x i8> %a) { ; CHECK-LABEL: orr8imm2s_lsl16: ; CHECK: // %bb.0: ; CHECK-NEXT: orr v0.2s, #255, lsl #16 ; CHECK-NEXT: ret %tmp1 = or <8 x i8> %a, < i8 0, i8 0, i8 255, i8 0, i8 0, i8 0, i8 255, i8 0> ret <8 x i8> %tmp1 } define <8 x i8> @orr8imm2s_lsl24(<8 x i8> %a) { ; CHECK-LABEL: orr8imm2s_lsl24: ; CHECK: // %bb.0: ; CHECK-NEXT: orr v0.2s, #255, lsl #24 ; CHECK-NEXT: ret %tmp1 = or <8 x i8> %a, < i8 0, i8 0, i8 0, i8 255, i8 0, i8 0, i8 0, i8 255> ret <8 x i8> %tmp1 } define <4 x i16> @orr16imm2s_lsl0(<4 x i16> %a) { ; CHECK-LABEL: orr16imm2s_lsl0: ; CHECK: // %bb.0: ; CHECK-NEXT: orr v0.2s, #255 ; CHECK-NEXT: ret %tmp1 = or <4 x i16> %a, < i16 255, i16 0, i16 255, i16 0> ret <4 x i16> %tmp1 } define <4 x i16> @orr16imm2s_lsl8(<4 x i16> %a) { ; CHECK-LABEL: orr16imm2s_lsl8: ; CHECK: // %bb.0: ; CHECK-NEXT: orr v0.2s, #255, lsl #8 ; CHECK-NEXT: ret %tmp1 = or <4 x i16> %a, < i16 65280, i16 0, i16 65280, i16 0> ret <4 x i16> %tmp1 } define <4 x i16> @orr16imm2s_lsl16(<4 x i16> %a) { ; CHECK-LABEL: orr16imm2s_lsl16: ; CHECK: // %bb.0: ; CHECK-NEXT: orr v0.2s, #255, lsl #16 ; CHECK-NEXT: ret %tmp1 = or <4 x i16> %a, < i16 0, i16 255, i16 0, i16 255> ret <4 x i16> %tmp1 } define <4 x i16> @orr16imm2s_lsl24(<4 x i16> %a) { ; CHECK-LABEL: orr16imm2s_lsl24: ; CHECK: // %bb.0: ; CHECK-NEXT: orr v0.2s, #255, lsl #24 ; CHECK-NEXT: ret %tmp1 = or <4 x i16> %a, < i16 0, i16 65280, i16 0, i16 65280> ret <4 x i16> %tmp1 } define <1 x i64> @orr64imm2s_lsl0(<1 x i64> %a) { ; CHECK-LABEL: orr64imm2s_lsl0: ; CHECK: // %bb.0: ; CHECK-NEXT: orr v0.2s, #255 ; CHECK-NEXT: ret %tmp1 = or <1 x i64> %a, < i64 1095216660735> ret <1 x i64> %tmp1 } define <1 x i64> @orr64imm2s_lsl8(<1 x i64> %a) { ; CHECK-LABEL: orr64imm2s_lsl8: ; CHECK: // %bb.0: ; CHECK-NEXT: orr v0.2s, #255, lsl #8 ; CHECK-NEXT: ret %tmp1 = or <1 x i64> %a, < i64 280375465148160> ret <1 x i64> %tmp1 } define <1 x i64> @orr64imm2s_lsl16(<1 x i64> %a) { ; CHECK-LABEL: orr64imm2s_lsl16: ; CHECK: // %bb.0: ; CHECK-NEXT: orr v0.2s, #255, lsl #16 ; CHECK-NEXT: ret %tmp1 = or <1 x i64> %a, < i64 71776119077928960> ret <1 x i64> %tmp1 } define <1 x i64> @orr64imm2s_lsl24(<1 x i64> %a) { ; CHECK-LABEL: orr64imm2s_lsl24: ; CHECK: // %bb.0: ; CHECK-NEXT: orr v0.2s, #255, lsl #24 ; CHECK-NEXT: ret %tmp1 = or <1 x i64> %a, < i64 -72057589759737856> ret <1 x i64> %tmp1 } define <16 x i8> @orr8imm4s_lsl0(<16 x i8> %a) { ; CHECK-LABEL: orr8imm4s_lsl0: ; CHECK: // %bb.0: ; CHECK-NEXT: orr v0.4s, #255 ; CHECK-NEXT: ret %tmp1 = or <16 x i8> %a, < i8 255, i8 0, i8 0, i8 0, i8 255, i8 0, i8 0, i8 0, i8 255, i8 0, i8 0, i8 0, i8 255, i8 0, i8 0, i8 0> ret <16 x i8> %tmp1 } define <16 x i8> @orr8imm4s_lsl8(<16 x i8> %a) { ; CHECK-LABEL: orr8imm4s_lsl8: ; CHECK: // %bb.0: ; CHECK-NEXT: orr v0.4s, #255, lsl #8 ; CHECK-NEXT: ret %tmp1 = or <16 x i8> %a, < i8 0, i8 255, i8 0, i8 0, i8 0, i8 255, i8 0, i8 0, i8 0, i8 255, i8 0, i8 0, i8 0, i8 255, i8 0, i8 0> ret <16 x i8> %tmp1 } define <16 x i8> @orr8imm4s_lsl16(<16 x i8> %a) { ; CHECK-LABEL: orr8imm4s_lsl16: ; CHECK: // %bb.0: ; CHECK-NEXT: orr v0.4s, #255, lsl #16 ; CHECK-NEXT: ret %tmp1 = or <16 x i8> %a, < i8 0, i8 0, i8 255, i8 0, i8 0, i8 0, i8 255, i8 0, i8 0, i8 0, i8 255, i8 0, i8 0, i8 0, i8 255, i8 0> ret <16 x i8> %tmp1 } define <16 x i8> @orr8imm4s_lsl24(<16 x i8> %a) { ; CHECK-LABEL: orr8imm4s_lsl24: ; CHECK: // %bb.0: ; CHECK-NEXT: orr v0.4s, #255, lsl #24 ; CHECK-NEXT: ret %tmp1 = or <16 x i8> %a, < i8 0, i8 0, i8 0, i8 255, i8 0, i8 0, i8 0, i8 255, i8 0, i8 0, i8 0, i8 255, i8 0, i8 0, i8 0, i8 255> ret <16 x i8> %tmp1 } define <8 x i16> @orr16imm4s_lsl0(<8 x i16> %a) { ; CHECK-LABEL: orr16imm4s_lsl0: ; CHECK: // %bb.0: ; CHECK-NEXT: orr v0.4s, #255 ; CHECK-NEXT: ret %tmp1 = or <8 x i16> %a, < i16 255, i16 0, i16 255, i16 0, i16 255, i16 0, i16 255, i16 0> ret <8 x i16> %tmp1 } define <8 x i16> @orr16imm4s_lsl8(<8 x i16> %a) { ; CHECK-LABEL: orr16imm4s_lsl8: ; CHECK: // %bb.0: ; CHECK-NEXT: orr v0.4s, #255, lsl #8 ; CHECK-NEXT: ret %tmp1 = or <8 x i16> %a, < i16 65280, i16 0, i16 65280, i16 0, i16 65280, i16 0, i16 65280, i16 0> ret <8 x i16> %tmp1 } define <8 x i16> @orr16imm4s_lsl16(<8 x i16> %a) { ; CHECK-LABEL: orr16imm4s_lsl16: ; CHECK: // %bb.0: ; CHECK-NEXT: orr v0.4s, #255, lsl #16 ; CHECK-NEXT: ret %tmp1 = or <8 x i16> %a, < i16 0, i16 255, i16 0, i16 255, i16 0, i16 255, i16 0, i16 255> ret <8 x i16> %tmp1 } define <8 x i16> @orr16imm4s_lsl24(<8 x i16> %a) { ; CHECK-LABEL: orr16imm4s_lsl24: ; CHECK: // %bb.0: ; CHECK-NEXT: orr v0.4s, #255, lsl #24 ; CHECK-NEXT: ret %tmp1 = or <8 x i16> %a, < i16 0, i16 65280, i16 0, i16 65280, i16 0, i16 65280, i16 0, i16 65280> ret <8 x i16> %tmp1 } define <2 x i64> @orr64imm4s_lsl0(<2 x i64> %a) { ; CHECK-LABEL: orr64imm4s_lsl0: ; CHECK: // %bb.0: ; CHECK-NEXT: orr v0.4s, #255 ; CHECK-NEXT: ret %tmp1 = or <2 x i64> %a, < i64 1095216660735, i64 1095216660735> ret <2 x i64> %tmp1 } define <2 x i64> @orr64imm4s_lsl8(<2 x i64> %a) { ; CHECK-LABEL: orr64imm4s_lsl8: ; CHECK: // %bb.0: ; CHECK-NEXT: orr v0.4s, #255, lsl #8 ; CHECK-NEXT: ret %tmp1 = or <2 x i64> %a, < i64 280375465148160, i64 280375465148160> ret <2 x i64> %tmp1 } define <2 x i64> @orr64imm4s_lsl16(<2 x i64> %a) { ; CHECK-LABEL: orr64imm4s_lsl16: ; CHECK: // %bb.0: ; CHECK-NEXT: orr v0.4s, #255, lsl #16 ; CHECK-NEXT: ret %tmp1 = or <2 x i64> %a, < i64 71776119077928960, i64 71776119077928960> ret <2 x i64> %tmp1 } define <2 x i64> @orr64imm4s_lsl24(<2 x i64> %a) { ; CHECK-LABEL: orr64imm4s_lsl24: ; CHECK: // %bb.0: ; CHECK-NEXT: orr v0.4s, #255, lsl #24 ; CHECK-NEXT: ret %tmp1 = or <2 x i64> %a, < i64 -72057589759737856, i64 -72057589759737856> ret <2 x i64> %tmp1 } define <8 x i8> @orr8imm4h_lsl0(<8 x i8> %a) { ; CHECK-LABEL: orr8imm4h_lsl0: ; CHECK: // %bb.0: ; CHECK-NEXT: orr v0.4h, #255 ; CHECK-NEXT: ret %tmp1 = or <8 x i8> %a, < i8 255, i8 0, i8 255, i8 0, i8 255, i8 0, i8 255, i8 0> ret <8 x i8> %tmp1 } define <8 x i8> @orr8imm4h_lsl8(<8 x i8> %a) { ; CHECK-LABEL: orr8imm4h_lsl8: ; CHECK: // %bb.0: ; CHECK-NEXT: orr v0.4h, #255, lsl #8 ; CHECK-NEXT: ret %tmp1 = or <8 x i8> %a, < i8 0, i8 255, i8 0, i8 255, i8 0, i8 255, i8 0, i8 255> ret <8 x i8> %tmp1 } define <2 x i32> @orr16imm4h_lsl0(<2 x i32> %a) { ; CHECK-LABEL: orr16imm4h_lsl0: ; CHECK: // %bb.0: ; CHECK-NEXT: orr v0.4h, #255 ; CHECK-NEXT: ret %tmp1 = or <2 x i32> %a, < i32 16711935, i32 16711935> ret <2 x i32> %tmp1 } define <2 x i32> @orr16imm4h_lsl8(<2 x i32> %a) { ; CHECK-LABEL: orr16imm4h_lsl8: ; CHECK: // %bb.0: ; CHECK-NEXT: orr v0.4h, #255, lsl #8 ; CHECK-NEXT: ret %tmp1 = or <2 x i32> %a, < i32 4278255360, i32 4278255360> ret <2 x i32> %tmp1 } define <1 x i64> @orr64imm4h_lsl0(<1 x i64> %a) { ; CHECK-LABEL: orr64imm4h_lsl0: ; CHECK: // %bb.0: ; CHECK-NEXT: orr v0.4h, #255 ; CHECK-NEXT: ret %tmp1 = or <1 x i64> %a, < i64 71777214294589695> ret <1 x i64> %tmp1 } define <1 x i64> @orr64imm4h_lsl8(<1 x i64> %a) { ; CHECK-LABEL: orr64imm4h_lsl8: ; CHECK: // %bb.0: ; CHECK-NEXT: orr v0.4h, #255, lsl #8 ; CHECK-NEXT: ret %tmp1 = or <1 x i64> %a, < i64 -71777214294589696> ret <1 x i64> %tmp1 } define <16 x i8> @orr8imm8h_lsl0(<16 x i8> %a) { ; CHECK-LABEL: orr8imm8h_lsl0: ; CHECK: // %bb.0: ; CHECK-NEXT: orr v0.8h, #255 ; CHECK-NEXT: ret %tmp1 = or <16 x i8> %a, < i8 255, i8 0, i8 255, i8 0, i8 255, i8 0, i8 255, i8 0, i8 255, i8 0, i8 255, i8 0, i8 255, i8 0, i8 255, i8 0> ret <16 x i8> %tmp1 } define <16 x i8> @orr8imm8h_lsl8(<16 x i8> %a) { ; CHECK-LABEL: orr8imm8h_lsl8: ; CHECK: // %bb.0: ; CHECK-NEXT: orr v0.8h, #255, lsl #8 ; CHECK-NEXT: ret %tmp1 = or <16 x i8> %a, < i8 0, i8 255, i8 0, i8 255, i8 0, i8 255, i8 0, i8 255, i8 0, i8 255, i8 0, i8 255, i8 0, i8 255, i8 0, i8 255> ret <16 x i8> %tmp1 } define <4 x i32> @orr16imm8h_lsl0(<4 x i32> %a) { ; CHECK-LABEL: orr16imm8h_lsl0: ; CHECK: // %bb.0: ; CHECK-NEXT: orr v0.8h, #255 ; CHECK-NEXT: ret %tmp1 = or <4 x i32> %a, < i32 16711935, i32 16711935, i32 16711935, i32 16711935> ret <4 x i32> %tmp1 } define <4 x i32> @orr16imm8h_lsl8(<4 x i32> %a) { ; CHECK-LABEL: orr16imm8h_lsl8: ; CHECK: // %bb.0: ; CHECK-NEXT: orr v0.8h, #255, lsl #8 ; CHECK-NEXT: ret %tmp1 = or <4 x i32> %a, < i32 4278255360, i32 4278255360, i32 4278255360, i32 4278255360> ret <4 x i32> %tmp1 } define <2 x i64> @orr64imm8h_lsl0(<2 x i64> %a) { ; CHECK-LABEL: orr64imm8h_lsl0: ; CHECK: // %bb.0: ; CHECK-NEXT: orr v0.8h, #255 ; CHECK-NEXT: ret %tmp1 = or <2 x i64> %a, < i64 71777214294589695, i64 71777214294589695> ret <2 x i64> %tmp1 } define <2 x i64> @orr64imm8h_lsl8(<2 x i64> %a) { ; CHECK-LABEL: orr64imm8h_lsl8: ; CHECK: // %bb.0: ; CHECK-NEXT: orr v0.8h, #255, lsl #8 ; CHECK-NEXT: ret %tmp1 = or <2 x i64> %a, < i64 -71777214294589696, i64 -71777214294589696> ret <2 x i64> %tmp1 }