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

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

test for improved zap discovery

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

 srl_and.ll |   10 ++++++++++
 1 files changed, 10 insertions(+)


Index: llvm/test/Regression/CodeGen/Alpha/srl_and.ll
diff -c /dev/null llvm/test/Regression/CodeGen/Alpha/srl_and.ll:1.1
*** /dev/null   Mon Feb 13 12:52:11 2006
--- llvm/test/Regression/CodeGen/Alpha/srl_and.ll       Mon Feb 13 12:52:01 2006
***************
*** 0 ****
--- 1,10 ----
+ ; Make sure this testcase codegens to the zapnot instruction
+ ; RUN: llvm-as < %s | llc -march=alpha | grep 'zapnot'
+ 
+ ulong %foo(ulong %y) {
+ entry:
+         %tmp = shr ulong %y, ubyte 3            ; <ulong> [#uses=1]
+         %tmp2 = and ulong %tmp, 8191            ; <ulong> [#uses=1]
+         ret ulong %tmp2
+ }
+ 



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

Reply via email to