1 ; RUN: llc -mtriple=arm-eabi -mattr=+neon %s -o - | FileCheck %s
3 ; This test checks that when inserting one (integer) element into a vector,
4 ; the vector is not spuriously copied. "vorr dX, dY, dY" is the way of moving
5 ; one DPR to another that we check for.
12 define <4 x i32> @f(<4 x i32> %in) {
13 %1 = insertelement <4 x i32> %in, i32 255, i32 3
22 define <8 x i16> @g(<8 x i16> %in) {
23 %1 = insertelement <8 x i16> %in, i16 255, i32 7
32 define <16 x i8> @h(<16 x i8> %in) {
33 %1 = insertelement <16 x i8> %in, i8 255, i32 15