[llvm-commits] CVS: llvm/test/Regression/CodeGen/Alpha/zapnot4.ll

Chris Lattner sabre at nondot.org
Tue Oct 10 22:10:33 PDT 2006



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

zapnot4.ll added (r1.1)
---
Log message:

new testcase, this should turn into zap


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

 zapnot4.ll |    8 ++++++++
 1 files changed, 8 insertions(+)


Index: llvm/test/Regression/CodeGen/Alpha/zapnot4.ll
diff -c /dev/null llvm/test/Regression/CodeGen/Alpha/zapnot4.ll:1.1
*** /dev/null	Wed Oct 11 00:10:29 2006
--- llvm/test/Regression/CodeGen/Alpha/zapnot4.ll	Wed Oct 11 00:10:19 2006
***************
*** 0 ****
--- 1,8 ----
+ ; RUN: llvm-as < %s | llc -march=alpha | grep zapnot
+ 
+ ulong %foo(ulong %y) {
+         %tmp = shl ulong %y, ubyte 3            ; <ulong> [#uses=1]
+         %tmp2 = and ulong %tmp, 65535            ; <ulong> [#uses=1]
+         ret ulong %tmp2
+ }
+ 






More information about the llvm-commits mailing list