1 ; RUN: llc -mtriple arm-eabi -mattr=+neon -disable-post-ra -pre-RA-sched source %s -o - | FileCheck %s
2 ; RUN: llc -mtriple thumbv7-windows-itanium -mattr=+neon -disable-post-ra -pre-RA-sched source %s -o - | FileCheck %s
4 define <8 x i8> @sdivi8(<8 x i8>* %A, <8 x i8>* %B) nounwind {
5 %tmp1 = load <8 x i8>, <8 x i8>* %A
6 %tmp2 = load <8 x i8>, <8 x i8>* %B
7 %tmp3 = sdiv <8 x i8> %tmp1, %tmp2
11 ; CHECK-LABEL: sdivi8:
18 define <8 x i8> @udivi8(<8 x i8>* %A, <8 x i8>* %B) nounwind {
19 %tmp1 = load <8 x i8>, <8 x i8>* %A
20 %tmp2 = load <8 x i8>, <8 x i8>* %B
21 %tmp3 = udiv <8 x i8> %tmp1, %tmp2
25 ; CHECK-LABEL: udivi8:
34 define <4 x i16> @sdivi16(<4 x i16>* %A, <4 x i16>* %B) nounwind {
35 %tmp1 = load <4 x i16>, <4 x i16>* %A
36 %tmp2 = load <4 x i16>, <4 x i16>* %B
37 %tmp3 = sdiv <4 x i16> %tmp1, %tmp2
41 ; CHECK-LABEL: sdivi16:
46 define <4 x i16> @udivi16(<4 x i16>* %A, <4 x i16>* %B) nounwind {
47 %tmp1 = load <4 x i16>, <4 x i16>* %A
48 %tmp2 = load <4 x i16>, <4 x i16>* %B
49 %tmp3 = udiv <4 x i16> %tmp1, %tmp2
53 ; CHECK-LABEL: udivi16: