[llvm-commits] [llvm] r48697 - /llvm/trunk/test/CodeGen/PowerPC/ppcf128-4.ll

Bill Wendling isanbard at gmail.com
Sat Mar 22 15:27:02 PDT 2008


Author: void
Date: Sat Mar 22 17:27:01 2008
New Revision: 48697

URL: http://llvm.org/viewvc/llvm-project?rev=48697&view=rev
Log:
New testcase.

Added:
    llvm/trunk/test/CodeGen/PowerPC/ppcf128-4.ll

Added: llvm/trunk/test/CodeGen/PowerPC/ppcf128-4.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/ppcf128-4.ll?rev=48697&view=auto

==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/ppcf128-4.ll (added)
+++ llvm/trunk/test/CodeGen/PowerPC/ppcf128-4.ll Sat Mar 22 17:27:01 2008
@@ -0,0 +1,10 @@
+; RUN: llvm-as < %s | llc -march=ppc32
+
+define ppc_fp128 @__floatditf(i64 %u) nounwind  {
+entry:
+        %tmp6 = mul ppc_fp128 0xM00000000000000000000000000000000, 0xM41F00000000000000000000000000000
+        %tmp78 = trunc i64 %u to i32
+        %tmp789 = uitofp i32 %tmp78 to ppc_fp128
+        %tmp11 = add ppc_fp128 %tmp789, %tmp6
+        ret ppc_fp128 %tmp11
+}





More information about the llvm-commits mailing list