aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/Generic/fpowi-promote.ll
blob: cb7dfc7036ba51a0d6e059320cde0dd550104135 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
; RUN: llc < %s

; PR1239

; Undefined external symbol "__powisf2"
; XFAIL: target=nvptx{{.*}}

define float @test(float %tmp23302331, i32 %tmp23282329 ) {

%tmp2339 = call float @llvm.powi.f32.i32( float %tmp23302331, i32 %tmp23282329 )
	ret float %tmp2339
}

declare float @llvm.powi.f32.i32(float,i32)