[llvm-commits] CVS: llvm/test/Regression/CodeGen/PowerPC/seteq-0.ll

Chris Lattner lattner at cs.uiuc.edu
Wed Aug 24 09:49:01 PDT 2005



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

seteq-0.ll added (r1.1)
---
Log message:

Make sure this doesn't break when we're improving the isels


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

 seteq-0.ll |    7 +++++++
 1 files changed, 7 insertions(+)


Index: llvm/test/Regression/CodeGen/PowerPC/seteq-0.ll
diff -c /dev/null llvm/test/Regression/CodeGen/PowerPC/seteq-0.ll:1.1
*** /dev/null	Wed Aug 24 11:48:59 2005
--- llvm/test/Regression/CodeGen/PowerPC/seteq-0.ll	Wed Aug 24 11:48:49 2005
***************
*** 0 ****
--- 1,7 ----
+ ; RUN: llvm-as < %s | llc -march=ppc32 | grep 'srwi r., r., 5'
+ 
+ int %eq0(int %a) {
+ 	%tmp.1 = seteq int %a, 0		; <bool> [#uses=1]
+ 	%tmp.2 = cast bool %tmp.1 to int		; <int> [#uses=1]
+ 	ret int %tmp.2
+ }






More information about the llvm-commits mailing list