added some tests to check stupid pattern matching mistakes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21154 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGen/Alpha/eqv.ll b/test/CodeGen/Alpha/eqv.ll
new file mode 100644
index 0000000..1cc397e
--- /dev/null
+++ b/test/CodeGen/Alpha/eqv.ll
@@ -0,0 +1,11 @@
+; Make sure this testcase codegens to the eqv instruction
+; RUN: llvm-as < %s | llc -march=alpha | grep 'eqv'
+
+implementation ; Functions:
+
+long %bar(long %x, long %y) {
+entry:
+ %tmp.1 = xor long %x, -1 ; <long> [#uses=1]
+ %tmp.2 = xor long %y, long %tmp.1
+ ret long %tmp.2
+}