diff options
Diffstat (limited to 'test/CodeGen/Alpha/eqv.ll')
-rw-r--r-- | test/CodeGen/Alpha/eqv.ll | 11 |
1 files changed, 11 insertions, 0 deletions
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 +} |