1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc < %s -o - -verify-machineinstrs -global-isel=1 -global-isel-abort=1 | FileCheck %s --check-prefixes=CHECK
3 ; RUN: llc < %s -o - -verify-machineinstrs -global-isel=0 | FileCheck %s --check-prefixes=CHECK
5 target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128"
6 target triple = "arm64-apple-ios14.5.0"
8 define <2 x i16> @pr63826_v2s16(<2 x i16> %vec) {
9 ; CHECK-LABEL: pr63826_v2s16:
11 ; CHECK-NEXT: ; kill: def $d0 killed $d0 def $q0
12 ; CHECK-NEXT: mov w8, #1 ; =0x1
13 ; CHECK-NEXT: mov.s v0[0], w8
14 ; CHECK-NEXT: ; kill: def $d0 killed $d0 killed $q0
16 %vec1 = insertelement <2 x i16> %vec, i16 1, i32 0
20 define <2 x i8> @pr63826_v2s8(<2 x i8> %vec) {
21 ; CHECK-LABEL: pr63826_v2s8:
23 ; CHECK-NEXT: ; kill: def $d0 killed $d0 def $q0
24 ; CHECK-NEXT: mov w8, #1 ; =0x1
25 ; CHECK-NEXT: mov.s v0[0], w8
26 ; CHECK-NEXT: ; kill: def $d0 killed $d0 killed $q0
28 %vec1 = insertelement <2 x i8> %vec, i8 1, i32 0
32 define <4 x i8> @pr63826_v4s8(<4 x i8> %vec) {
33 ; CHECK-LABEL: pr63826_v4s8:
35 ; CHECK-NEXT: ; kill: def $d0 killed $d0 def $q0
36 ; CHECK-NEXT: mov w8, #1 ; =0x1
37 ; CHECK-NEXT: mov.h v0[0], w8
38 ; CHECK-NEXT: ; kill: def $d0 killed $d0 killed $q0
40 %vec1 = insertelement <4 x i8> %vec, i8 1, i32 0