summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/Generic/fpowi-promote.ll
blob: 55c2d2ad0c6fb1a303985fbabd2f94910a469a8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; RUN: llvm-as < %s | llc
; RUN: llvm-as < %s | llc -march=x86 -mcpu=i386

; PR1239

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

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

declare float @llvm.powi.f32(float,i32)
OpenPOWER on IntegriCloud