Changes in directory llvm/test/Regression/CodeGen/X86:

or-branch.ll added (r1.1)
---
Log message:

new testcase


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

 or-branch.ll |   19 +++++++++++++++++++
 1 files changed, 19 insertions(+)


Index: llvm/test/Regression/CodeGen/X86/or-branch.ll
diff -c /dev/null llvm/test/Regression/CodeGen/X86/or-branch.ll:1.1
*** /dev/null   Fri Oct 27 16:32:20 2006
--- llvm/test/Regression/CodeGen/X86/or-branch.ll       Fri Oct 27 16:32:10 2006
***************
*** 0 ****
--- 1,19 ----
+ ; RUN: llvm-as < %s | llc -march=x86 | not grep set
+ 
+ void %foo(int %X, int %Y, int %Z) {
+ entry:
+       %tmp = tail call int (...)* %bar( )             ; <int> [#uses=0]
+       %tmp = seteq int %X, 0          ; <bool> [#uses=1]
+       %tmp3 = setlt int %Y, 5         ; <bool> [#uses=1]
+       %tmp4 = or bool %tmp3, %tmp             ; <bool> [#uses=1]
+       br bool %tmp4, label %cond_true, label %UnifiedReturnBlock
+ 
+ cond_true:            ; preds = %entry
+       %tmp5 = tail call int (...)* %bar( )            ; <int> [#uses=0]
+       ret void
+ 
+ UnifiedReturnBlock:           ; preds = %entry
+       ret void
+ }
+ 
+ declare int %bar(...)



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to