[llvm-commits] CVS: llvm/test/Regression/CodeGen/PowerPC/inverted-bool-compares.ll

Chris Lattner lattner at cs.uiuc.edu
Thu Sep 22 17:53:17 PDT 2005



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

inverted-bool-compares.ll added (r1.1)
---
Log message:

new testcase


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

 inverted-bool-compares.ll |   11 +++++++++++
 1 files changed, 11 insertions(+)


Index: llvm/test/Regression/CodeGen/PowerPC/inverted-bool-compares.ll
diff -c /dev/null llvm/test/Regression/CodeGen/PowerPC/inverted-bool-compares.ll:1.1
*** /dev/null	Thu Sep 22 19:53:16 2005
--- llvm/test/Regression/CodeGen/PowerPC/inverted-bool-compares.ll	Thu Sep 22 19:53:06 2005
***************
*** 0 ****
--- 1,11 ----
+ ; RUN: llvm-as < %s | llc -march=ppc32 | not grep xori &&
+ ; RUN: llvm-as < %s | llc -march=ppc32
+ 
+ int %test(bool %B, int* %P) {
+    br bool %B, label %T, label %F
+ T:
+ 	store int 123, int* %P
+ 	ret int 0
+ F:
+ ret int 17
+ }






More information about the llvm-commits mailing list