New testcase for PR1239

llvm-svn: 34892
This commit is contained in:
Chris Lattner 2007-03-03 23:42:50 +00:00
parent ed30abf0cb
commit 6053ad4252
1 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,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)