1 ; RUN: llc -march=x86 -mattr=+sse2 < %s | FileCheck %s
3 define i32 @test1(i32 %x) {
4 %div = sdiv exact i32 %x, 25
7 ; CHECK: imull $-1030792151, 4(%esp)
11 define i32 @test2(i32 %x) {
12 %div = sdiv exact i32 %x, 24
16 ; CHECK-NEXT: imull $-1431655765
20 define <4 x i32> @test3(<4 x i32> %x) {
21 %div = sdiv exact <4 x i32> %x, <i32 24, i32 24, i32 24, i32 24>