1 ; RUN: llc -mtriple=x86_64-unknown-unknown < %s | FileCheck %s
3 define float @test_powi(ptr %p) nounwind {
4 ; CHECK-LABEL: test_powi:
5 ; CHECK: # %bb.0: # %bb
6 ; CHECK-NEXT: movss {{.*#+}} xmm1 = mem[0],zero,zero,zero
7 ; CHECK-COUNT-31: mulss %xmm1, %xmm1
8 ; CHECK-NEXT: movss {{.*#+}} xmm0 = [1.0E+0,0.0E+0,0.0E+0,0.0E+0]
9 ; CHECK-NEXT: divss %xmm1, %xmm0
12 %load = load float, ptr %p, align 4
13 %call = call contract float @llvm.powi.f32.i32(float %load, i32 -2147483648)
17 declare float @llvm.powi.f32.i32(float, i32)