[llvm-commits] [llvm] r50536 - /llvm/trunk/test/CodeGen/PowerPC/2008-05-01-ppc_fp128.ll
Bill Wendling
isanbard at gmail.com
Thu May 1 11:41:09 PDT 2008
Author: void
Date: Thu May 1 13:41:09 2008
New Revision: 50536
URL: http://llvm.org/viewvc/llvm-project?rev=50536&view=rev
Log:
Adding testcase.
Added:
llvm/trunk/test/CodeGen/PowerPC/2008-05-01-ppc_fp128.ll
Added: llvm/trunk/test/CodeGen/PowerPC/2008-05-01-ppc_fp128.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/2008-05-01-ppc_fp128.ll?rev=50536&view=auto
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/2008-05-01-ppc_fp128.ll (added)
+++ llvm/trunk/test/CodeGen/PowerPC/2008-05-01-ppc_fp128.ll Thu May 1 13:41:09 2008
@@ -0,0 +1,15 @@
+; RUN: llvm-as < %s | llc -march=ppc32
+target triple = "powerpc-apple-darwin9.2.2"
+
+define i256 @func(ppc_fp128 %a, ppc_fp128 %b, ppc_fp128 %c, ppc_fp128 %d) nounwind readnone {
+entry:
+ br i1 false, label %bb36, label %bb484
+
+bb36: ; preds = %entry
+ %tmp124 = fcmp ord ppc_fp128 %b, 0xM00000000000000000000000000000000 ; <i1> [#uses=1]
+ %tmp140 = and i1 %tmp124, fcmp une (ppc_fp128 0xM00000000000000000000000000000000, ppc_fp128 0xM00000000000000000000000000000000) ; <i1> [#uses=0]
+ unreachable
+
+bb484: ; preds = %entry
+ ret i256 0
+}
More information about the llvm-commits
mailing list