llvm-6502/test/CodeGen/Generic/fpowi-promote.ll

13 lines
286 B
LLVM
Raw Normal View History

; 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)