1 ; RUN: llc < %s | FileCheck %s
3 ; ModuleID = 'aarch64_tree_tests.bc'
4 target datalayout = "e-m:e-i64:64-i128:128-n32:64-S128"
5 target triple = "arm64--linux-gnu"
7 ; CHECK-LABLE: @aarch64_tree_tests_and
17 ; Function Attrs: nounwind readnone
18 define <8 x i16> @aarch64_tree_tests_and(<8 x i16> %a) {
20 %and = and <8 x i16> <i16 0, i16 undef, i16 undef, i16 0, i16 0, i16 undef, i16 undef, i16 0>, %a
21 %ret = add <8 x i16> %and, <i16 -32768, i16 32767, i16 4664, i16 32767, i16 -32768, i16 -32768, i16 0, i16 0>
25 ; CHECK-LABLE: @aarch64_tree_tests_or
35 ; Function Attrs: nounwind readnone
36 define <8 x i16> @aarch64_tree_tests_or(<8 x i16> %a) {
38 %or = or <8 x i16> <i16 -1, i16 undef, i16 undef, i16 -1, i16 -1, i16 undef, i16 undef, i16 -1>, %a
39 %ret = add <8 x i16> %or, <i16 -32767, i16 32767, i16 4665, i16 32767, i16 -32767, i16 -32767, i16 0, i16 0>