1 ; RUN: llc -march=x86-64 -mcpu=core2 < %s | FileCheck %s -check-prefix=SSE
2 ; RUN: llc -march=x86-64 -mcpu=core-avx2 < %s | FileCheck %s -check-prefix=AVX
4 define <4 x i32> @test1(<4 x i32> %a) {
5 %div = udiv <4 x i32> %a, <i32 7, i32 7, i32 7, i32 7>
29 define <8 x i32> @test2(<8 x i32> %a) {
30 %div = udiv <8 x i32> %a, <i32 7, i32 7, i32 7, i32 7,i32 7, i32 7, i32 7, i32 7>
45 ; TODO: sdiv -> pmuldq