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

test-not-cmp.ll added (r1.1)
---
Log message:

New test case.

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

 test-not-cmp.ll |   14 ++++++++++++++
 1 files changed, 14 insertions(+)


Index: llvm/test/Regression/CodeGen/X86/test-not-cmp.ll
diff -c /dev/null llvm/test/Regression/CodeGen/X86/test-not-cmp.ll:1.1
*** /dev/null   Fri Sep  8 02:24:30 2006
--- llvm/test/Regression/CodeGen/X86/test-not-cmp.ll    Fri Sep  8 02:24:20 2006
***************
*** 0 ****
--- 1,14 ----
+ ; RUN: llvm-as < %s | llc -march=x86
+ ; RUN: llvm-as < %s | llc -march=x86 | grep test
+ 
+ int %test(int %X, int* %y) {
+       %tmp = load int* %y
+       %tmp = seteq int %tmp, 0
+       br bool %tmp, label %ReturnBlock, label %cond_true
+ 
+ cond_true:
+       ret int 1
+ 
+ ReturnBlock:
+       ret int 0
+ }



_______________________________________________
llvm-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to