[llvm-commits] CVS: llvm/test/CodeGen/Generic/fpowi-promote.ll

Chris Lattner sabre at nondot.org
Sat Mar 3 15:43:07 PST 2007



Changes in directory llvm/test/CodeGen/Generic:

fpowi-promote.ll added (r1.1)
---
Log message:

New testcase for PR1239: http://llvm.org/PR1239 


---
Diffs of the changes:  (+12 -0)

 fpowi-promote.ll |   12 ++++++++++++
 1 files changed, 12 insertions(+)


Index: llvm/test/CodeGen/Generic/fpowi-promote.ll
diff -c /dev/null llvm/test/CodeGen/Generic/fpowi-promote.ll:1.1
*** /dev/null	Sat Mar  3 17:43:00 2007
--- llvm/test/CodeGen/Generic/fpowi-promote.ll	Sat Mar  3 17:42:50 2007
***************
*** 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)






More information about the llvm-commits mailing list