New testcase for PR1239
authorChris Lattner <sabre@nondot.org>
Sat, 3 Mar 2007 23:42:50 +0000 (23:42 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 3 Mar 2007 23:42:50 +0000 (23:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34892 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/Generic/fpowi-promote.ll [new file with mode: 0644]

diff --git a/test/CodeGen/Generic/fpowi-promote.ll b/test/CodeGen/Generic/fpowi-promote.ll
new file mode 100644 (file)
index 0000000..118bd68
--- /dev/null
@@ -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)